vue-style-loader
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -8,13 +8,7 @@ var listToStyles = require('./listToStyles') | ||
if (context) { | ||
var styles = context._styles | ||
if (!styles) { | ||
styles = context._styles = {} | ||
if (!context.hasOwnProperty('styles')) { | ||
Object.defineProperty(context, 'styles', { | ||
enumberable: true, | ||
get : function() { | ||
return ( | ||
context._renderedStyles || | ||
(context._renderedStyles = renderStyles(styles)) | ||
) | ||
get: function() { | ||
return renderStyles(context._styles) | ||
} | ||
@@ -24,2 +18,3 @@ }) | ||
var styles = context._styles || (context._styles = {}) | ||
list = listToStyles(parentId, list) | ||
@@ -26,0 +21,0 @@ if (isProduction) { |
{ | ||
"name": "vue-style-loader", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"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
89208
446