proper loader for sass (scss)

This commit is contained in:
Michael Bradley, Jr 2018-10-01 19:16:32 -05:00 committed by Pascal Precht
parent ac70cfc424
commit 34a3d75542
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 6 additions and 2 deletions

View File

@ -79,8 +79,12 @@ const base = {
module: { module: {
rules: [ rules: [
{ {
test: /\.css$/, test: /\.scss$/,
use: [{loader: 'style-loader'}, {loader: 'css-loader'}] use: [
'style-loader',
'css-loader',
'sass-loader'
]
}, },
{ {
test: /\.scss$/, test: /\.scss$/,