Comparing version 1.6.8 to 1.6.9
@@ -24,3 +24,3 @@ "use strict"; | ||
? normalizePath(absoluteAliasPath) | ||
: normalizePath(`${absoluteAliasPath}/${requiredModule.replace(new RegExp(`^${alias.prefix.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')}`), '')}`))) { | ||
: normalizePath(`${absoluteAliasPath}/${requiredModule.replace(new RegExp(`(?:^${alias.prefix.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')})|(?:\.js$)`, 'g'), '')}`))) { | ||
continue; | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "tsc-alias", | ||
"version": "1.6.8", | ||
"version": "1.6.9", | ||
"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
110951