weex-vue-loader
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -59,3 +59,3 @@ // @todo: support hot reload | ||
var query = loaderUtils.getOptions(this) | ||
var params = loaderUtils.parseQuery(this.resourceQuery) | ||
var params = this.resourceQuery && loaderUtils.parseQuery(this.resourceQuery) | ||
var options = this.options.__vueOptions__ = Object.assign({}, this.options.vue, this.vue, query) | ||
@@ -399,3 +399,3 @@ var filePath = this.resourcePath | ||
if (params.entry) { | ||
if (params && params.entry) { | ||
output += 'module.exports.el = \'' + params.entry + '\'\n' + | ||
@@ -402,0 +402,0 @@ 'new Vue(module.exports)\n' |
{ | ||
"name": "weex-vue-loader", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Vue.js component loader for Webpack", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30234