Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b2c1e5a

Browse filesBrowse files
committed
use full loader names
1 parent 6af8b3b commit b2c1e5a
Copy full SHA for b2c1e5a

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎lib/loader.js

Copy file name to clipboardExpand all lines: lib/loader.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ var defaultLang = {
1010
}
1111

1212
var defaultLoaders = {
13-
html: 'vue-html',
14-
css: 'style!css',
15-
js: 'babel?optional[]=runtime&loose=all&nonStandard=false'
13+
html: 'vue-html-loader',
14+
css: 'style-loader!css-loader',
15+
js: 'babel-loader?optional[]=runtime&loose=all&nonStandard=false'
1616
}
1717

18-
var rewriterInjectRE = /\b((css|(vue-)?html)(\?[^!]+)?!?)\b/
18+
var rewriterInjectRE = /\b((css|(vue-)?html)(-loader)?(\?[^!]+)?!?)\b/
1919
var rewriters = {
2020
template: require.resolve('./template-rewriter'),
2121
style: require.resolve('./style-rewriter')

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.