remove annoying sass workflow
This commit is contained in:
parent
23363060f7
commit
477a84f67e
@ -19,17 +19,10 @@ module.exports = {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(jpg|png|svg)$/,
|
||||
test: /\.(eot|jpg|png|svg|ttf|woff2?)$/,
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: 'assets/images/[name].[contenthash:8].[ext]'
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.(eot|svg|ttf|woff2?)$/,
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: 'assets/webfonts/[name].[contenthash:8].[ext]'
|
||||
name: 'assets/[name].[contenthash:8].[ext]'
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -39,11 +32,15 @@ module.exports = {
|
||||
'extract-loader',
|
||||
{
|
||||
loader: 'css-loader',
|
||||
options: { sourceMap: true }
|
||||
},
|
||||
{
|
||||
loader: 'resolve-url-loader',
|
||||
options: {
|
||||
importLoaders: 1,
|
||||
},
|
||||
},
|
||||
'sass-loader',
|
||||
engine: 'postcss',
|
||||
sourceMap: true
|
||||
}
|
||||
}
|
||||
],
|
||||
},
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user