Skip to content

Commit e4378e3

Browse files
committed
option support for webpack 2
1 parent 7a49829 commit e4378e3

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
@@ -28,7 +28,7 @@ module.exports = function (content) {
2828

2929
this.cacheable()
3030
var loaderContext = this
31-
var options = this.options.vue || {}
31+
var options = this.vue || this.options.vue || {}
3232
var query = loaderUtils.parseQuery(this.query)
3333
var filePath = this.resourcePath
3434
var fileName = path.basename(filePath)

0 commit comments

Comments
 (0)