File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 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) {
166166 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 ) $ / ,
167167 loader : 'file'
168168 } , {
169- < % _ if ( filters . sass ) { _ % >
169+ < % _ if ( filters . jade ) { _ % >
170170 // Jade LOADER
171171 // Reference: https://github.com/webpack/jade-loader
172172 // Allow loading jade throw js
173173 test : / \. j a d e $ / ,
174- loaders : [ 'raw' , 'jade ']
174+ loaders : [ 'pug-html ' ]
175175 } , { < % } % >
176+ < % _ if ( filters . html ) { _ % >
176177 // HTML LOADER
177178 // Reference: https://github.com/webpack/raw-loader
178179 // Allow loading html through js
179180 test : / \.html$ / ,
180181 loader : 'raw'
181- } , {
182+ } , { < % } % >
182183 // CSS LOADER
183184 // Reference: https://github.com/webpack/css-loader
184185 // Allow loading css through js
You can’t perform that action at this time.
0 commit comments