-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix tsconfig and pbjs issue (#574)
* tsconfig looks like not work on prepare script processing, so remove it * pass --module nodenext --modueResolution nodenext --target es6 as command arg * import Long as deps for ES5, and because issue --force-number does not work (protobufjs/protobuf.js#1109), we cannot use number instead * With nodenext resolution, the export/import in index.ts should with file extension.
- Loading branch information
Showing
3 changed files
with
10 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import init from "./rings_node"; | ||
import init from "./rings_node.js"; | ||
|
||
export default init; | ||
|
||
export * from "./rings_node"; | ||
export * from "./rings_node_proto"; | ||
export * from "./rings_node.js"; | ||
import Long from "long"; | ||
|
||
export * from "./rings_node_proto.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.