Apps created with preact-cli don't use a webpack.config.js but a preact.config.js. Principles are very similar, but Preact CLI gives us a pre-built config that we then mutate i.s.o. building it from scratch like a webpack.config.js...
Did you ever try adding decss-loader to a Preact CLI project?
I'm getting an unstyled page. I suspect it has something to do with the extract text plugin being there and the order being wrong or something...
Apps created with preact-cli don't use a webpack.config.js but a preact.config.js. Principles are very similar, but Preact CLI gives us a pre-built config that we then mutate i.s.o. building it from scratch like a webpack.config.js...
Did you ever try adding
decss-loader
to a Preact CLI project?I'm getting an unstyled page. I suspect it has something to do with the extract text plugin being there and the order being wrong or something...