Webpack 2 seems to have removed the postcss section and adding autoprefixer seems difficult. I tried adding it like this to my webpack.config.ts file (fetched from the aurelia skeleton-typescript-webpack):
First I imported loaderOptionsPlugin and autoprefixer, then I loaded autoprefixer as a postcss option to loaderOptionsPlugin and finally I added additionaloaders (postcss) to my css and sass @easy-webpack modules.
This did not work. Any ideas?
Or maybe some kind soul would like to write @easy-webpack/config-autoprefixer? :)
Hey,
Webpack 2 seems to have removed the postcss section and adding autoprefixer seems difficult. I tried adding it like this to my webpack.config.ts file (fetched from the aurelia skeleton-typescript-webpack):
First I imported loaderOptionsPlugin and autoprefixer, then I loaded autoprefixer as a postcss option to loaderOptionsPlugin and finally I added additionaloaders (postcss) to my css and sass @easy-webpack modules.
This did not work. Any ideas? Or maybe some kind soul would like to write @easy-webpack/config-autoprefixer? :)