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
this is a bug
options = { batch: inputOptions.batch, compatibility: inputOptions.compatibility, format: inputOptions.format, inline: typeof inputOptions.inline == 'string' ? inputOptions.inline : 'local', inlineTimeout: inputOptions.inlineTimeout * 1000, level: { 1: true }, output: inputOptions.output, rebase: inputOptions.withRebase ? true : false, rebaseTo: undefined, sourceMap: inputOptions.sourceMap, sourceMapInlineSources: inputOptions.sourceMapInlineSources }; if (program.rawArgs.indexOf('-O0') > -1) { options.level[0] = true; } if (program.rawArgs.indexOf('-O1') > -1) { options.level[1] = findArgumentTo('-O1', program.rawArgs, program.args); }
if use level -O0 level: { 1: true }, options.level[1] is always true
if (program.rawArgs.indexOf('-O1') > -1) { options.level[1] = findArgumentTo('-O1', program.rawArgs, program.args); }else{ options.level[1] = false; }
The text was updated successfully, but these errors were encountered:
Hey @cooliean, you are 100% right. Would you mind turning this change into a PR?
Sorry, something went wrong.
workaround for clean-css/clean-css-cli#80
f7fc393
fix clean-css#80
7b8a1d8
a55daf0
Successfully merging a pull request may close this issue.
this is a bug
if use level -O0
level: { 1: true },
options.level[1] is always true
The text was updated successfully, but these errors were encountered: