Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{
test: /style\.scss$/,
use: styleExtractConfig,
},
{
test: /editor\.scss$/,
use: styleExtractConfig,
},
],
},
stats: {
...defaultConfig.stats,
modules: false,
warnings: false,
},
plugins: [
...defaultConfig.plugins,
new FixStyleOnlyEntriesPlugin(),
new MiniCssExtractPlugin( {
filename: '[name].css',
} ),
],
};