weex-vue-loader
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -164,2 +164,3 @@ // @todo: support hot reload | ||
if (type === 'styles') { | ||
loader = addCssModulesToLoader(loader, part, index) | ||
@@ -166,0 +167,0 @@ // while lang existed, the `style-loader` is also needed. |
@@ -5,3 +5,3 @@ var styler = require('weex-styler') | ||
this.cacheable && this.cacheable() | ||
return 'module.exports = ' + genStyleString(content, this) | ||
return 'module.exports = ' + genStyleString(content) | ||
} | ||
@@ -29,3 +29,3 @@ | ||
function genStyleString (input, loader) { | ||
function genStyleString (input) { | ||
var output = '{}' | ||
@@ -37,11 +37,2 @@ styler.parse(input, function (err, obj) { | ||
if (obj && obj.jsonStyle) { | ||
if (obj.log) { | ||
obj.log.map((log) => { | ||
if (log.selectors) { | ||
loader.emitWarning(`${log.selectors}: ${log.reason}`) | ||
} else { | ||
loader.emitWarning(`${log.reason}`) | ||
} | ||
}) | ||
} | ||
try { | ||
@@ -48,0 +39,0 @@ output = JSON.stringify(obj.jsonStyle, convertLength, 2) |
{ | ||
"name": "weex-vue-loader", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
29971
762
1