diff options
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | ts/flatbuffers.ts | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 4b9f71f3..0ff0bd84 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "mjs/*.d.ts", "ts/*.ts" ], - "main": "js/flatbuffers", + "main": "js/flatbuffers.js", "module": "mjs/index.mjs", "directories": { "doc": "docs", diff --git a/ts/flatbuffers.ts b/ts/flatbuffers.ts index 2c2a295e..91845275 100644 --- a/ts/flatbuffers.ts +++ b/ts/flatbuffers.ts @@ -31,3 +31,4 @@ export namespace flatbuffers { export const ByteBuffer = ByteBufferClass; } +export default flatbuffers; |