mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Cleanup settings=.. build option usage.
Former-commit-id: 33506d9cfc2101cba8d160169c5d27861f8c7064
This commit is contained in:
@@ -131,7 +131,7 @@ lodash template="./*.jst"
|
|||||||
|
|
||||||
* Use the `settings` argument to pass the template settings used when precompiling templates
|
* Use the `settings` argument to pass the template settings used when precompiling templates
|
||||||
```bash
|
```bash
|
||||||
lodash settings="{interpolate:/\\{\\{(.+?)\\}\\}/g}"
|
lodash settings="{interpolate:/\\{\\{([\\s\\S]+?)\\}\\}/g}"
|
||||||
```
|
```
|
||||||
|
|
||||||
All arguments, except `legacy` with `csp` or `mobile`, may be combined.<br>
|
All arguments, except `legacy` with `csp` or `mobile`, may be combined.<br>
|
||||||
|
|||||||
2
build.js
2
build.js
@@ -369,7 +369,7 @@
|
|||||||
' lodash template=... File path pattern used to match template files to precompile',
|
' lodash template=... File path pattern used to match template files to precompile',
|
||||||
' (e.g. `lodash template=./*.jst`)',
|
' (e.g. `lodash template=./*.jst`)',
|
||||||
' lodash settings=... Template settings used when precompiling templates',
|
' lodash settings=... Template settings used when precompiling templates',
|
||||||
' (e.g. `lodash settings="{interpolate:/\\{\\{(.+?)\\}\\}/g}"`)',
|
' (e.g. `lodash settings="{interpolate:/\\\\{\\\\{([\\\\s\\\\S]+?)\\\\}\\\\}/g}"`)',
|
||||||
'',
|
'',
|
||||||
' All arguments, except `legacy` with `csp` or `mobile`, may be combined.',
|
' All arguments, except `legacy` with `csp` or `mobile`, may be combined.',
|
||||||
' Unless specified by `-o` or `--output`, all files created are saved to the current working directory.',
|
' Unless specified by `-o` or `--output`, all files created are saved to the current working directory.',
|
||||||
|
|||||||
Reference in New Issue
Block a user