How can I use webpack5 and postcss7 with es6 import syntax
I have a website built using TS and SASS then compiled down to vanilla es6 JS and CSS. The compiled code then gets built into a compressed production ready version, using webpack, I want to use webpack to remove unused css, autoprefixer and cssnano.
The problem is there isn't very clear information on configuring webpack with es6 modules. Currently I don't have any errors, but whenever I run my webpack build script nothing changes between the compiled code and the production code.
Here's the code
Stack Overflow
How can I use webpack5 and postcss7 with es6 import syntax
I have a website built using TS and SASS then compiled down to vanilla es6 JS "typw:module" and CSS. The compiled code then gets built into a compressed production ready version, using we...
0 Replies