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
✖ Error - file(s) not compressed with uglify-js
{ Error: ENOENT: no such file or directory, stat 'source/**'
at Object.statSync (fs.js:855:3)
at createDirectory (/var/www/project/node_modules/@node-minify/core/lib/compress.js:102:20)
at compress (/var/www/project/node_modules/@node-minify/core/lib/compress.js:36:3)
at Promise (/var/www/project/node_modules/@node-minify/core/lib/core.js:30:7)
at new Promise (<anonymous>)
at minify (/var/www/project/node_modules/@node-minify/core/lib/core.js:25:10)
at Promise (/var/www/project/node_modules/@node-minify/cli/lib/compress.js:31:23)
at new Promise (<anonymous>)
at compress (/var/www/project/node_modules/@node-minify/cli/lib/compress.js:30:10)
at Promise (/var/www/project/node_modules/@node-minify/cli/lib/cli.js:52:35)
errno: -2,
syscall: 'stat',
code: 'ENOENT',
path: 'source/**' }
In the example above, I just want to minify all js files recursively and save the minified file in the same folder as its source js file.
Is glob not supported or is there another method/syntax to do this?
Thanks!
The text was updated successfully, but these errors were encountered:
Using cli Im trying to recursively minify files like:
but throws error:
In the example above, I just want to minify all js files recursively and save the minified file in the same folder as its source js file.
Is glob not supported or is there another method/syntax to do this?
Thanks!
The text was updated successfully, but these errors were encountered: