I have a React project (typescript) that bundles to a single JS file including everything. PurifyCSS webpack plugin is not working as expected.
The following is the relevant code of my Webpack config:
It seems the plugin only read the output files. Is there a way to use it as a loader?
The purifycss should be applied after "css-loader" of "style-loader".
I have a React project (typescript) that bundles to a single JS file including everything. PurifyCSS webpack plugin is not working as expected. The following is the relevant code of my Webpack config:
This project doesn't have HTML files, only Typescript and Less files. How to use PurifyCSS in this case? This only works using ExtractTextPlugin?