Open AndreyAttr opened 7 years ago
All the plugins are here: https://github.com/postcss/postcss#usage
https://github.com/postcss/autoprefixer see link
https://github.com/postcss/postcss-loader npm i -D postcss-loader
{ test: /.css/, use: [ { loader: 'style-loader', options: { sourceMap: true } }, { loader: 'css-loader', options: { sourceMap: true } }, { loader: 'postcss-loader', options: { sourceMap: true } }, { loader: 'sass-loader', options: { sourceMap: true } } ] }
"autoprefixer": "^6.7.7", "postcss-loader": "^1.3.3", "postcss-smart-import": "^0.6.12", "precss": "^1.4.0",
Need time to understand how to link all these CSS plugins with Webpack correctly
Useful info: https://habrahabr.ru/post/280988/ https://github.com/postcss/postcss-loader
All the plugins are here: https://github.com/postcss/postcss#usage
https://github.com/postcss/autoprefixer see link
https://github.com/postcss/postcss-loader npm i -D postcss-loader
{ test: /.css/, use: [ { loader: 'style-loader', options: { sourceMap: true } }, { loader: 'css-loader', options: { sourceMap: true } }, { loader: 'postcss-loader', options: { sourceMap: true } }, { loader: 'sass-loader', options: { sourceMap: true } } ] }
"autoprefixer": "^6.7.7", "postcss-loader": "^1.3.3", "postcss-smart-import": "^0.6.12", "precss": "^1.4.0",