We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Specifying a plugin name that does not have any effect should return an exit code 1. E.g. The following command should fail:
npx rollup -c --plugin rollup-plugin-terser
For the code snippet:
console.log('main entry'); const this_should_be_minified = 42; function addAFunction() { return this_should_be_minified; } console.log(addAFunction());
The commandline silently accepts the name, but does not do anything. E.g. it rolls up, but does not minify and keeps the original source file intact.
The correct version should have been
npx rollup -c --plugin terser
If you run this command, then it correctly minifies and exits cleanly:
console.log("main entry");console.log(42);
The text was updated successfully, but these errors were encountered:
Thanks for bringing this up, I created #3647 to address this, please check
Sorry, something went wrong.
Merge branch 'master' into gh-3646-handle-plugin-export-not-found
048fd13
Successfully merging a pull request may close this issue.
Expected Behavior
Specifying a plugin name that does not have any effect should return an exit code 1. E.g. The following command should fail:
For the code snippet:
Actual Behavior
The commandline silently accepts the name, but does not do anything. E.g. it rolls up, but does not minify and keeps the original source file intact.
The correct version should have been
If you run this command, then it correctly minifies and exits cleanly:
The text was updated successfully, but these errors were encountered: