Skip to content

Commit a212236

Browse files
author
Andrew Koroluk
committed
fix(webpack): use raw-loader for pug files
1 parent 1cddd7b commit a212236

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ module.exports = function makeWebpackConfig(options) {
189189
// Reference: https://github.com/willyelm/pug-html-loader
190190
// Allow loading Pug throw js
191191
test: /\.(jade|pug)$/,
192-
loaders: ['pug-html']
192+
loaders: ['raw-loader', 'pug-html']
193193
}, {<% } %>
194194
<%_ if(filters.html) { _%>
195195
// HTML LOADER

0 commit comments

Comments
 (0)