Closed
Description
PackageVersion: 0.4.2
Node: 9.3.0
Adding the following seems to work in development mode, but when switching to production mode it no longer emits the css files.
plugins: [new MiniCssExtractPlugin({
filename: '[name]-[contenthash].css'
})],
module: {
rules: [{
test: /\.s?css/,
include: SRC_PATH,
use: [
MiniCssExtractPlugin.loader,
{loader: 'css-loader', options: {importLoaders: 2}},
'postcss-loader',
{loader: 'sass-loader', options: {includePaths: SASS_INCLUDES}}
]
}]
}
This configuration works find in development mode but not production
Metadata
Metadata
Assignees
Labels
No labels