You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: Missing initializer in const declaration
at js_error (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:549:11)
at croak (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:1273:9)
at vardefs (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:2286:31)
at const_ (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:2318:27)
at statement (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:1528:28)
at _embed_tokens_wrapper (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:1338:26)
at block_ (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:2177:20)
at _function_body (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:2089:21)
at arrow_function (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:1695:20)
at expr_atom (/Users/robin/work/docroot/example.com/wp-content/themes/example/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:2519:20)
I'm not sure, that is related to uglifyjs-folder, maybe the terser module cause this, but I havo no experience with nodejs at all.
I appreciate any help.
Thanks,
Norbert
The text was updated successfully, but these errors were encountered:
Hi,
I'd like to uglify my js scripts with uglifyjs-folder:
but I get the next error:
My package.json:
My uglify.json:
I'm not sure, that is related to uglifyjs-folder, maybe the terser module cause this, but I havo no experience with nodejs at all.
I appreciate any help.
Thanks,
Norbert
The text was updated successfully, but these errors were encountered: