Skip to content

Commit 9d9accc

Browse files
committed
webpack 2 options interop
1 parent 9ce2eee commit 9d9accc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = function (content) {
4141
this.cacheable()
4242
var isServer = this.options.target === 'node'
4343
var loaderContext = this
44-
var options = this.options.vue || {}
44+
var options = this.vue || this.options.vue || {}
4545
var query = loaderUtils.parseQuery(this.query)
4646
var filePath = this.resourcePath
4747
var fileName = path.basename(filePath)

0 commit comments

Comments
 (0)