Closed billdami closed 2 years ago
I suppose one way would be to remove the plugin/loader entirely from the config 🤔
@ForsakenHarmony thanks for the reply, though I ended up going with a different forked template for my needs. Out of curiosity, whats the best way to remove the plugin/loader from the config, since the config itself is baked into preact-cli? Is there APIs for doing that?
There isn't, you'd have to get the plugin and then splice it from the plugins array
It appears preact-cli has switched from ExtractTextPlugin to MiniCssExtractPlugin in newer releases for extracting the build's CSS into a separate file, which obviously causes this in the
preact.config.js
file to fail:I didn't see any option in the MiniCssExtractPlugin config that allows it to be completely disabled, is there another way of doing this?