mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 08:18:30 +00:00
1 parent
3b895261fe
commit
60a475df73
1 file changed
+3
@@ -40,6 +40,9 @@ 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.
|
||||||
|
|
||||||
|
avoidTDZ {{< new-in "0.78.0" >}}
|
||||||
|
: There is/was a bug in WebKit with severe performance issue with the tracking of TDZ checks in JavaScriptCore. Enabling this flag removes the TDZ and `const` assignment checks and may improve performance of larger JS codebases until the WebKit fix is in widespread use. See https://bugs.webkit.org/show_bug.cgi?id=199866
|
||||||
|
|
||||||
target [string]
|
target [string]
|
||||||
: The language target.
|
: The language target.
|
||||||
One of: `es5`, `es2015`, `es2016`, `es2017`, `es2018`, `es2019`, `es2020` or `esnext`.
|
One of: `es5`, `es2015`, `es2016`, `es2017`, `es2018`, `es2019`, `es2020` or `esnext`.
|
||||||
|
|||||||
Reference in new issue
Block a user