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
I am using uglifyjs-folder in my npm scripts, when using the pattern option I get this error:
TypeError: Cannot read properties of null (reading 'resolve_defines')
at Compressor.compress (/Volumes/Hobo/Blueshoon/recruitwell/dev/recruitwell-theme/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:18408:29)
at Object.minify (/Volumes/Hobo/Blueshoon/recruitwell/dev/recruitwell-theme/node_modules/uglifyjs-folder/node_modules/terser/dist/bundle.min.js:30339:12)
at module.exports (/Volumes/Hobo/Blueshoon/recruitwell/dev/recruitwell-theme/node_modules/uglifyjs-folder/index.js:83:39)
at main (/Volumes/Hobo/Blueshoon/recruitwell/dev/recruitwell-theme/node_modules/uglifyjs-folder/cli.js:27:22)
at Object.<anonymous> (/Volumes/Hobo/Blueshoon/recruitwell/dev/recruitwell-theme/node_modules/uglifyjs-folder/cli.js:42:1)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
I am using uglifyjs-folder in my npm scripts, when using the pattern option I get this error:
here is the command I'm running:
The text was updated successfully, but these errors were encountered: