Skip to content

Commit 6cf2fbd

Browse files
committed
feat(webpack): allow for .jade || .pug
1 parent 2f9b188 commit 6cf2fbd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: templates/app/webpack.make.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,10 @@ module.exports = function makeWebpackConfig(options) {
183183
loader: 'file'
184184
}, {
185185
<%_ if(filters.jade) { _%>
186-
// Jade LOADER
187-
// Reference: https://github.com/webpack/jade-loader
188-
// Allow loading jade throw js
189-
test: /\.jade$/,
186+
// Pug HTML LOADER
187+
// Reference: https://github.com/willyelm/pug-html-loader
188+
// Allow loading Pug throw js
189+
test: /\.(jade|pug)$/,
190190
loaders: ['pug-html']
191191
}, {<% } %>
192192
<%_ if(filters.html) { _%>

0 commit comments

Comments
 (0)