How to use lost, autoprefixer and postcss-flexibility?
问题 I want to know the order in which we should use autoprefixer , lost , postcssflexibility in webpack ? 回答1: Here's a basic example (prefixing through postcss, applying precss plugin etc.). webpack 1 const autoprefixer = require('autoprefixer'); const precss = require('precss'); module.exports = { module: { loaders: [ { test: /\.css$/, loaders: ['style', 'css', 'postcss'], }, ], }, // PostCSS plugins go here postcss: function () { return [autoprefixer, precss]; }, }; webpack 2 module: { rules: