[JS] Add ".js" suffix to all import statements to generate a browser compatible mjs version. (#7086)

This commit is contained in:
Timo Sturm
2022-02-08 21:21:20 +01:00
committed by GitHub
parent c85fb690f4
commit e910bddbcc
11 changed files with 44 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
import { ByteBuffer } from "./byte-buffer"
import { SIZEOF_SHORT, SIZE_PREFIX_LENGTH, SIZEOF_INT, FILE_IDENTIFIER_LENGTH } from "./constants"
import { Offset, IGeneratedObject } from "./types"
import { ByteBuffer } from "./byte-buffer.js"
import { SIZEOF_SHORT, SIZE_PREFIX_LENGTH, SIZEOF_INT, FILE_IDENTIFIER_LENGTH } from "./constants.js"
import { Offset, IGeneratedObject } from "./types.js"
export class Builder {
private bb: ByteBuffer