@hao360/cube-css-loader
Advanced tools
+7
-1
@@ -126,4 +126,10 @@ const css = require('css'); | ||
| this.callback(null, 'module.exports = `' + result.code + '`;', result.map, cssObj); | ||
| if(global.cubeCssData){ | ||
| global.cubeCssData[this.resourcePath] = result.code; | ||
| return 'module.exports = "/*__cube_css_here__*/";'; | ||
| } else { | ||
| this.callback(null, 'module.exports = `' + result.code + '`;', result.map, cssObj); | ||
| return; | ||
| } | ||
| } | ||
| }; |
+1
-1
| { | ||
| "name": "@hao360/cube-css-loader", | ||
| "version": "1.2.2", | ||
| "version": "1.2.3", | ||
| "description": "cube css loader", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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.
5164
3.61%128
4.92%0
-100%