Comparing version 1.3.3 to 1.3.4
@@ -125,6 +125,8 @@ "use strict"; | ||
} | ||
const modulePath = orig.substring(0, index) + | ||
const newImportScript = orig.substring(0, index) + | ||
relativeAliasPath + | ||
'/' + | ||
orig.substring(index + alias.prefix.length); | ||
return modulePath.replace(/\/\//g, '/'); | ||
const modulePath = newImportScript.match(utils_1.newStringRegex()).groups.path; | ||
return newImportScript.replace(modulePath, normalizePath(modulePath)); | ||
} | ||
@@ -131,0 +133,0 @@ return orig; |
{ | ||
"name": "tsc-alias", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Replace alias paths with relative paths after typescript compilation.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
55932
488