AndreyAttr / Evo

Evo repo
MIT License
0 stars 1 forks source link

Switch to using postcss-loader, autoprefixer, precss etc. #7

Open AndreyAttr opened 7 years ago

AndreyAttr commented 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",

AndreyAttr commented 7 years ago

Need time to understand how to link all these CSS plugins with Webpack correctly

AndreyAttr commented 7 years ago

Useful info: https://habrahabr.ru/post/280988/ https://github.com/postcss/postcss-loader