mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
Update webpack config
This commit is contained in:
parent
b6a4b3019e
commit
da2d136de5
@ -36,6 +36,7 @@ module.exports = ({
|
||||
new MiniCssExtractPlugin({
|
||||
filename: '[name].[chunkhash].css',
|
||||
chunkFilename: '[name].[chunkhash].chunkhash.css',
|
||||
ignoreOrder: true,
|
||||
}),
|
||||
]
|
||||
: [
|
||||
@ -143,10 +144,7 @@ module.exports = ({
|
||||
{
|
||||
test: /\.css$/,
|
||||
include: /node_modules/,
|
||||
use: [
|
||||
{
|
||||
loader: require.resolve('style-loader'),
|
||||
},
|
||||
use: scssLoader.concat([
|
||||
{
|
||||
loader: require.resolve('css-loader'),
|
||||
options: {
|
||||
@ -161,7 +159,7 @@ module.exports = ({
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
]),
|
||||
},
|
||||
{
|
||||
test: /\.scss$/,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user