Skip to content

Add parameter disableStructuralMinification #14

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

Merged
merged 1 commit into from
May 27, 2014

Conversation

hugihlynsson
Copy link
Contributor

Adds the ability to use the disableStructuralMinification parameter when calling css-loader:

module.exports = {
  module: {
    loaders: [
      { test: /\.css/, loader: "style-loader!css-loader?disableStructuralMinification" },
      { test: /\.png/, loader: "url-loader?limit=100000&mimetype=image/png" },
      { test: /\.jpg/, loader: "file-loader" }
    ]
  }
};

lf disableStructuralMinification is true, csso will not do structural magnification which is destructive, in some cases breaking @Keyframe rules.

sokra added a commit that referenced this pull request May 27, 2014
Add parameter disableStructuralMinification
@sokra sokra merged commit 63adb8a into webpack-contrib:master May 27, 2014
koistya pushed a commit to koistya/css-loader that referenced this pull request Nov 19, 2015
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

Successfully merging this pull request may close these issues.

2 participants