css-path-loader
Advanced tools
Comparing version 0.1.0 to 0.1.1
module.exports = function (source, map) { | ||
this.cacheable && this.cacheable() | ||
var namespace = this.resourcePath.replace(/[\W\w]+(?=src\b)/, '').replace(/\.scss/, '') | ||
var namespace = this.resourcePath.replace(/[\W\w]+(?=src\b)/, '').replace(/\.(scss|less)/, '') | ||
@@ -5,0 +5,0 @@ var nameArray = namespace.split('/') |
{ | ||
"name": "css-path-loader", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "auto add path namespace for every component", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
1
35
1887
3