vue-style-loader
Advanced tools
Comparing version 4.0.2 to 4.1.0
@@ -9,2 +9,3 @@ /* | ||
var hash = require('hash-sum') | ||
var qs = require('querystring') | ||
@@ -14,4 +15,2 @@ module.exports = function () {} | ||
module.exports.pitch = function (remainingRequest) { | ||
if (this.cacheable) this.cacheable() | ||
var isServer = this.target === 'node' | ||
@@ -30,3 +29,7 @@ var isProduction = this.minimize || process.env.NODE_ENV === 'production' | ||
// style embedded in vue file --> component lifecycle linked | ||
var isVue = /"vue":true/.test(remainingRequest) || options.manualInject | ||
var isVue = ( | ||
/"vue":true/.test(remainingRequest) || | ||
options.manualInject || | ||
qs.parse(this.resourceQuery.slice(1)).vue != null | ||
) | ||
@@ -33,0 +36,0 @@ var shared = [ |
{ | ||
"name": "vue-style-loader", | ||
"version": "4.0.2", | ||
"version": "4.1.0", | ||
"author": "Evan You", | ||
@@ -5,0 +5,0 @@ "description": "Vue.js style loader module for webpack", |
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
117852
544