Closed boris-petrov closed 2 years ago
I've made that eai-style-loader
runs after MiniCssExtractPlugin.loader
- not sure if that is correct. Is that why the tests are failing?
It was intentional that we don't use style-loader in production. style-loader's own docs say it's not recommend for production use and to use MiniCssExtractPlugin instead, and that you should never use both together simultaneously.
As was noted in the issue, this PR is not required. Closing.
Fixes #514.
@ef4 - I believe the issue is here coming from this commit - in
production
environmenteai-style-loader
is not loaded at all. Not sure why this was done - this PR setsstyle-loader
to load in all cases.