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 8b0520e commit fcc02bdCopy full SHA for fcc02bd
lib/loader.js
@@ -42,7 +42,7 @@ module.exports = function (content) {
42
var isServer = this.options.target === 'node'
43
var loaderContext = this
44
var query = loaderUtils.parseQuery(this.query)
45
- var options = this.query ? query : this.vue || this.options.vue || {}
+ var options = Object.assign({}, this.options.vue, this.vue, query)
46
var filePath = this.resourcePath
47
var fileName = path.basename(filePath)
48
var moduleId = 'data-v-' + genId(filePath)
0 commit comments