srod/node-minify

glob exclude not work

xmxiaoq opened this issue · 1 comments

For example:

await minify({
        compressor: terser,
        publicFolder: publicFolder,
        input: ['**/*.js', `!**/*.min.js`],
        output: '$1.js',
        replaceInPlace: true,
    });

File ends with .min.js is not excluded.
Maybe use globby is better choice?

srod commented

Fixed in 6.0.0. Should be ok.