@imgcook/cli-loader-images
Advanced tools
Comparing version 0.0.3-alpha.0 to 0.1.0-alpha.0
@@ -72,3 +72,6 @@ const fs = require('fs'); | ||
const regex = new RegExp(`"${imgArr[idx]}"`, 'g'); | ||
fileValue = fileValue.replace(regex, `require('./images/${imgName}')`); | ||
fileValue = fileValue.replace( | ||
regex, | ||
`require('./images/${imgName}')` | ||
); | ||
} else { | ||
@@ -97,4 +100,4 @@ fileValue = fileValue.replace(reg, `./images/${imgName}`); | ||
module.exports = function (item, option) { | ||
module.exports = function(item, option) { | ||
return loader(item, option); | ||
}; |
{ | ||
"name": "@imgcook/cli-loader-images", | ||
"version": "0.0.3-alpha.0", | ||
"version": "0.1.0-alpha.0", | ||
"description": "", | ||
@@ -19,3 +19,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@imgcook/cli-utils": "^0.0.2-alpha.2", | ||
"@imgcook/cli-utils": "^0.1.0-alpha.0", | ||
"fs-extra": "^7.0.1", | ||
@@ -36,3 +36,3 @@ "request": "^2.88.0" | ||
}, | ||
"gitHead": "49aaa4a028afd44f3acedf8ff926cdbba44ead23" | ||
"gitHead": "43873e662d8cb86870611c4c8427d748ebd03d49" | ||
} |
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
11743
7
154
+ Added@imgcook/cli-utils@0.1.7(transitive)
- Removed@imgcook/cli-utils@0.0.2-alpha.2(transitive)