Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glob exclude not work #1085

Closed
xmxiaoq opened this issue Jun 24, 2020 · 1 comment
Closed

glob exclude not work #1085

xmxiaoq opened this issue Jun 24, 2020 · 1 comment

Comments

@xmxiaoq
Copy link

xmxiaoq commented Jun 24, 2020

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
Copy link
Owner

srod commented Jun 24, 2020

Fixed in 6.0.0. Should be ok.

@srod srod closed this as completed Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants