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
Hi,
I have a simple SCSS file for testing :
body{ display:flex; flex:1; }
I have this config in webpack :
{ test: /\.scss$/, loaders: ['style', 'css?importLoaders=1','postcss', 'resolve-url', 'sass?sourceMap'] },
Output this with running webpack
webpack
body {\n display: -webkit-flex;\n display: -ms-flexbox;\n display: flex;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n}\n\n/
But output this with webpack -p
webpack -p
body{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}
And here is my postcss.config.js file
module.exports = (ctx) => { return { map: ctx.env === 'development' ? 'inline' : false, plugins: { 'autoprefixer': { 'browsers': ['last 2 versions', 'ie > 9', 'iOS 8'] } } } }
Why webkit prefixes is not present with -p flag ?
-p
webpack: 1.13.3 postcss: 5.2.5 postcss-loader: 1.1.0
The text was updated successfully, but these errors were encountered:
https://github.com/postcss/autoprefixer/blob/master/README.md#no-prefixes-in-production
Sorry, something went wrong.
Please support this issue to fix this problem webpack-contrib/css-loader#281
Thanks
No branches or pull requests
Hi,
I have a simple SCSS file for testing :
I have this config in webpack :
Output this with running
webpack
But output this with
webpack -p
And here is my postcss.config.js file
Why webkit prefixes is not present with
-p
flag ?webpack: 1.13.3
postcss: 5.2.5
postcss-loader: 1.1.0
The text was updated successfully, but these errors were encountered: