I decided to add support for prefixes for different browsers in styles. To do this, turned to the postcss-loader module, which many refer to.
Adapted the code from the documentation ( one and two ) in relation to its config. If you understand the documentation correctly, postcss.config.js optional, we can edit the webcam configuration
let autoprefixer = require('autoprefixer'); module: { loaders: [{ test: /\.styl$/, loader: ExtractTextPlugin.extract('style', 'css!postcss!stylus?resolve url') }] }, postcss: () => { return [autoprefixer]; }, But the style file is compiled without prefixes. Where did I make a mistake?