Skip to content

Commit f208039

Browse files
mikechamberlainkatallaxie
authored andcommitted
fixes PatrickJS#1016, where SASS files which @include another break the unit tests (PatrickJS#1538)
1 parent 2e87333 commit f208039

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

config/webpack.test.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,17 @@ module.exports = function (options) {
134134
exclude: [helpers.root('src/index.html')]
135135
},
136136

137+
/**
138+
* Raw loader support for *.scss files
139+
*
140+
* See: https://github.com/webpack/raw-loader
141+
*/
142+
{
143+
test: /\.scss$/,
144+
loader: ['raw-loader', 'sass-loader'],
145+
exclude: [helpers.root('src/index.html')]
146+
},
147+
137148
/**
138149
* Raw loader support for *.html
139150
* Returns file content as string

0 commit comments

Comments
 (0)