Skip to content

Commit

Permalink
fix: stop build script .d.ts file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
kabaros committed Sep 14, 2023
1 parent 17fdf46 commit bcd32ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/lib/compiler/extensionHelpers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const extensionPattern = /\.[jt]sx?$/
const extensionPattern = /(?<!\.d)\.[jt]sx?$/
const normalizeExtension = (ext) => ext.replace(extensionPattern, '.js')

module.exports.extensionPattern = extensionPattern
Expand Down

0 comments on commit bcd32ef

Please sign in to comment.