We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5c0fe2 + 95bc1aa commit 3902262Copy full SHA for 3902262
packages/react-scripts/config/webpack.config.js
@@ -91,7 +91,9 @@ module.exports = function (webpackEnv) {
91
// common function to get style loaders
92
const getStyleLoaders = (cssOptions, preProcessor) => {
93
const loaders = [
94
- isEnvDevelopment && require.resolve('style-loader'),
+ isEnvDevelopment && {
95
+ loader: require.resolve('style-loader'),
96
+ },
97
isEnvProduction && {
98
loader: MiniCssExtractPlugin.loader,
99
// css is located in `static/css`, use '../../' to locate index.html folder
0 commit comments