Skip to content

Commit 13d36e3

Browse files
committed
just try it
1 parent 111e9a4 commit 13d36e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/build-npm.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ function emitTSFiles(options: {
139139

140140
const tsProgram = ts.createProgram(['src/index.ts'], tsOptions, tsHost);
141141
const tsResult = tsProgram.emit(undefined, undefined, undefined, undefined, {
142-
after: [changeExtensionInImportPaths({ extension }), inlineInvariant],
142+
before: [inlineInvariant],
143+
after: [changeExtensionInImportPaths({ extension })],
143144
});
144145
assert(
145146
!tsResult.emitSkipped,

0 commit comments

Comments
 (0)