File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -166,19 +166,20 @@ module.exports = function makeWebpackConfig(options) {
166
166
test : / \. ( p n g | j p g | j p e g | g i f | s v g | w o f f | w o f f 2 | t t f | e o t ) $ / ,
167
167
loader : 'file'
168
168
} , {
169
- < % _ if ( filters . sass ) { _ % >
169
+ < % _ if ( filters . jade ) { _ % >
170
170
// Jade LOADER
171
171
// Reference: https://github.com/webpack/jade-loader
172
172
// Allow loading jade throw js
173
173
test : / \. j a d e $ / ,
174
- loaders : [ 'raw' , 'jade ']
174
+ loaders : [ 'pug-html ' ]
175
175
} , { < % } % >
176
+ < % _ if ( filters . html ) { _ % >
176
177
// HTML LOADER
177
178
// Reference: https://github.com/webpack/raw-loader
178
179
// Allow loading html through js
179
180
test : / \.html$ / ,
180
181
loader : 'raw'
181
- } , {
182
+ } , { < % } % >
182
183
// CSS LOADER
183
184
// Reference: https://github.com/webpack/css-loader
184
185
// Allow loading css through js
You can’t perform that action at this time.
0 commit comments