Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

css-loader options is not effect #337

Closed
likun7981 opened this issue Jan 17, 2017 · 4 comments
Closed

css-loader options is not effect #337

likun7981 opened this issue Jan 17, 2017 · 4 comments

Comments

@likun7981
Copy link

{
      loader: 'css-loader',
      options: {
        minimize: true,
        sourceMap: true
      }
}

webpack version : 2.2.0-rc.7,
extract-text-webpack-plugin version: 2.0.0-beta.4

css-loader options is not effect, must use query, like this:

{
      loader: 'css-loader',
      query: {
        minimize: true,
        sourceMap: true
      }
}
@lvthanh101
Copy link

lvthanh101 commented Jan 17, 2017

I tried options with sass-loader and it doesn't work too. I'm using version 2.0.0-beta.5.

@mrtnbroder
Copy link

Just noticed the same issue. I still need to use the deprecated query api to make things work.
Bump!

@jaydenseric
Copy link

Duplicates #265 and #281.

@bebraw
Copy link
Contributor

bebraw commented Jan 20, 2017

Closing as a duplicate.

@bebraw bebraw closed this as completed Jan 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants