weex-vue-loader
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -58,3 +58,3 @@ // @todo: support hot reload | ||
var loaderContext = this | ||
var query = loaderUtils.getOptions(this) | ||
var query = loaderUtils.getOptions(this) || {} | ||
var params = this.resourceQuery && loaderUtils.parseQuery(this.resourceQuery) | ||
@@ -61,0 +61,0 @@ var options = this.options.__vueOptions__ = Object.assign({}, this.options.vue, this.vue, query) |
@@ -7,3 +7,3 @@ var path = require('path') | ||
this.cacheable() | ||
var query = loaderUtils.getOptions(this) | ||
var query = loaderUtils.getOptions(this) || {} | ||
var filename = path.basename(this.resourcePath) | ||
@@ -10,0 +10,0 @@ var parts = parse(content, filename, this.sourceMap) |
@@ -44,3 +44,3 @@ var postcss = require('postcss') | ||
loaderUtils.getOptions(this) | ||
var query = loaderUtils.getOptions(this) || {} | ||
var options = this.options.__vueOptions__ | ||
@@ -47,0 +47,0 @@ var postcssOptions = options.postcss |
@@ -57,3 +57,3 @@ // @todo: support hot reload | ||
var isProduction = this.minimize || process.env.NODE_ENV === 'production' | ||
var query = loaderUtils.getOptions(this) | ||
var query = loaderUtils.getOptions(this) || {} | ||
// var isServer = this.options.target === 'node' | ||
@@ -60,0 +60,0 @@ // var isServer = false |
@@ -8,3 +8,3 @@ var cons = require('consolidate') | ||
var callback = this.async() | ||
var opt = loaderUtils.getOptions(this) | ||
var opt = loaderUtils.getOptions(this) || {} | ||
var vue = this.options.__vueOptions__ | ||
@@ -11,0 +11,0 @@ if (vue && vue.template) { |
{ | ||
"name": "weex-vue-loader", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"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
30276