mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-19 05:15:03 -04:00
js.Build: Update docs to not allow boolean inputs for sourceMap
Remove docs indicating that boolean values can be provided to sourceMap.
This commit is contained in:
parent
e50a28fbc7
commit
0bcc6dca82
@ -40,6 +40,7 @@ Note that this is meant for small data sets, e.g. config settings. For larger da
|
|||||||
minify [bool]
|
minify [bool]
|
||||||
: Let `js.Build` handle the minification.
|
: Let `js.Build` handle the minification.
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
inject [slice] {{< new-in "0.81.0" >}}
|
inject [slice] {{< new-in "0.81.0" >}}
|
||||||
: This option allows you to automatically replace a global variable with an import from another file. The path names must be relative to `assets`. See https://esbuild.github.io/api/#inject
|
: This option allows you to automatically replace a global variable with an import from another file. The path names must be relative to `assets`. See https://esbuild.github.io/api/#inject
|
||||||
|
|
||||||
@ -74,6 +75,12 @@ sourceMap [string, bool] {{< new-in "0.75-DEV" >}}
|
|||||||
: Let `js.Build` output sourceMap. Current only inline is supported. true defaults to inline.
|
: Let `js.Build` output sourceMap. Current only inline is supported. true defaults to inline.
|
||||||
One of: true, false, `inline`, `external`
|
One of: true, false, `inline`, `external`
|
||||||
Default is false
|
Default is false
|
||||||
|
=======
|
||||||
|
sourceMap [string] {{< new-in "0.75-DEV" >}}
|
||||||
|
: Let `js.Build` output sourceMap. Current only inline is supported.
|
||||||
|
One of: "", `inline`, `external`
|
||||||
|
Default is ""
|
||||||
|
>>>>>>> d280bedb7 (js.Build: Update docs to not allow boolean inputs for sourceMap)
|
||||||
|
|
||||||
target [string]
|
target [string]
|
||||||
: The language target.
|
: The language target.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user