Skip to content

Commit fcc02bd

Browse files
committed
merge query and old config options
1 parent 8b0520e commit fcc02bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ module.exports = function (content) {
4242
var isServer = this.options.target === 'node'
4343
var loaderContext = this
4444
var query = loaderUtils.parseQuery(this.query)
45-
var options = this.query ? query : this.vue || this.options.vue || {}
45+
var options = Object.assign({}, this.options.vue, this.vue, query)
4646
var filePath = this.resourcePath
4747
var fileName = path.basename(filePath)
4848
var moduleId = 'data-v-' + genId(filePath)

0 commit comments

Comments
 (0)