Skip to content

Commit

Permalink
馃悰 Fix typings for node native esm (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Sep 27, 2023
1 parent df10a1a commit 716e073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postbuild/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const replace = require('replace-in-file');
// Append *.js file extension on all local imports

const options = {
files: 'lib/**/*.js',
files: ['lib/**/*.js', 'lib/**/*.d.ts'],
from: [/from '\.(.*)(?<!\.js)'/g, /from "\.(.*)(?<!\.js)"/g],
to: ["from '.$1.js'", 'from ".$1.js"'],
};
Expand Down

0 comments on commit 716e073

Please sign in to comment.