Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

weex-vue-loader

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weex-vue-loader - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

2

lib/loader.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc