We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6af8b3b commit b2c1e5aCopy full SHA for b2c1e5a
lib/loader.js
@@ -10,12 +10,12 @@ var defaultLang = {
10
}
11
12
var defaultLoaders = {
13
- html: 'vue-html',
14
- css: 'style!css',
15
- js: 'babel?optional[]=runtime&loose=all&nonStandard=false'
+ html: 'vue-html-loader',
+ css: 'style-loader!css-loader',
+ js: 'babel-loader?optional[]=runtime&loose=all&nonStandard=false'
16
17
18
-var rewriterInjectRE = /\b((css|(vue-)?html)(\?[^!]+)?!?)\b/
+var rewriterInjectRE = /\b((css|(vue-)?html)(-loader)?(\?[^!]+)?!?)\b/
19
var rewriters = {
20
template: require.resolve('./template-rewriter'),
21
style: require.resolve('./style-rewriter')
0 commit comments