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

Commit

Permalink
fix: style-compiler source maps & use vue-component-compiler instead …
Browse files Browse the repository at this point in the history
…of vue-loader in logs
  • Loading branch information
znck committed Oct 8, 2017
1 parent 513fe46 commit fef6fdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/assemble.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ module.exports = function assemble (source, filename, config) {
output +=
'if (Component.options.functional) {\n' +
' console.error("' +
'[vue-loader] ' + filename + ': functional components are not ' +
'[vue-component-compiler] ' + filename + ': functional components are not ' +
'supported with templates, they should use render functions.' +
'")\n}\n'
}
Expand Down
2 changes: 1 addition & 1 deletion src/style-compiler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function compileStyle (style, filename, config) {
}, config.options)

// source map
if (config.needMap && !style.map) {
if (config.needMap) {
if (!style.map) {
throw Error('Previous source map is missing.')
}
Expand Down

0 comments on commit fef6fdd

Please sign in to comment.