@lingxiteam/bundle-less-theme-tools
Advanced tools
Comparing version 0.0.1-alpha.9 to 0.0.1-alpha.10
@@ -84,3 +84,9 @@ | ||
const modulePath = moduleMainEntry.slice(0, moduleNameStartIndex + moduleName.length); | ||
wholePath = path.join(nodeModulesPath || modulePath, importPath.replace(moduleNameMatch, '')); | ||
if(nodeModulesPath) { | ||
wholePath = path.join(nodeModulesPath, moduleName, importPath.replace(moduleNameMatch, '')); | ||
} else { | ||
wholePath = path.join(modulePath, importPath.replace(moduleNameMatch, '')); | ||
} | ||
} else { | ||
@@ -87,0 +93,0 @@ wholePath = path.join(fileDirectory, importPath); |
{ | ||
"name": "@lingxiteam/bundle-less-theme-tools", | ||
"version": "0.0.1-alpha.9", | ||
"version": "0.0.1-alpha.10", | ||
"description": "A tool for bundling less theme files.", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "4bbed20b2ebdf98289d083a1a880ffe2c86700a0" | ||
"gitHead": "9629afcf7af026f14a01ff8be0f8fc0387267b35" | ||
} |
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
5939
124