Skip to content

Commit

Permalink
NodeNext module for libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Dec 1, 2023
1 parent 7926d78 commit 661d712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/package/src/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export async function transpile_ts(filename, source) {
return ts.transpileModule(source, {
compilerOptions: {
...options,
module: ts.ModuleKind.ESNext,
module: ts.ModuleKind.NodeNext,
moduleResolution: ts.ModuleResolutionKind.NodeNext
},
fileName: filename
Expand Down

0 comments on commit 661d712

Please sign in to comment.