Skip to content

Commit

Permalink
1.6.9
Browse files Browse the repository at this point in the history
  • Loading branch information
justkey007 committed Jun 6, 2022
1 parent 38efdcc commit 5ffe911
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tsc-alias",
"version": "1.6.8",
"version": "1.6.9",
"description": "Replace alias paths with relative paths after typescript compilation.",
"main": "dist/index.js",
"files": [
Expand Down
3 changes: 2 additions & 1 deletion src/replacers/default.replacer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ export default function replaceImportStatement({
`(?:^${alias.prefix.replace(
/[-[\]{}()*+?.,\\^$|#\s]/g,
'\\$&'
)})|(?:\.js$)`, 'g'
)})|(?:\.js$)`,
'g'
),
''
)}`
Expand Down

0 comments on commit 5ffe911

Please sign in to comment.