Skip to content

Commit b9eafc6

Browse files
committed
fix template lang (fix vuejs#466)
1 parent b7fece0 commit b9eafc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ module.exports = function (content) {
149149
// unknown lang, infer the loader to be used
150150
switch (type) {
151151
case 'template':
152-
return defaultLoaders.html + '!' + templateLoaderPath + '?raw-loader&engine=' + lang + '!'
152+
return defaultLoaders.html + '!' + templateLoaderPath + '?raw&engine=' + lang + '!'
153153
case 'styles':
154154
loader = addCssModulesToLoader(defaultLoaders.css, part, index)
155155
return loader + '!' + rewriter + lang + '-loader!'

0 commit comments

Comments
 (0)