Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit fef6fdd

Browse files
committed
fix: style-compiler source maps & use vue-component-compiler instead of vue-loader in logs
1 parent 513fe46 commit fef6fdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/assemble.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ module.exports = function assemble (source, filename, config) {
177177
output +=
178178
'if (Component.options.functional) {\n' +
179179
' console.error("' +
180-
'[vue-loader] ' + filename + ': functional components are not ' +
180+
'[vue-component-compiler] ' + filename + ': functional components are not ' +
181181
'supported with templates, they should use render functions.' +
182182
'")\n}\n'
183183
}

src/style-compiler/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function compileStyle (style, filename, config) {
1212
}, config.options)
1313

1414
// source map
15-
if (config.needMap && !style.map) {
15+
if (config.needMap) {
1616
if (!style.map) {
1717
throw Error('Previous source map is missing.')
1818
}

0 commit comments

Comments
 (0)