[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,12 +1,12 @@
export { SIZEOF_SHORT } from './constants'
export { SIZEOF_INT } from './constants'
export { FILE_IDENTIFIER_LENGTH } from './constants'
export { SIZE_PREFIX_LENGTH } from './constants'
export { SIZEOF_SHORT } from './constants.js'
export { SIZEOF_INT } from './constants.js'
export { FILE_IDENTIFIER_LENGTH } from './constants.js'
export { SIZE_PREFIX_LENGTH } from './constants.js'
export { Table, Offset } from './types'
export { Table, Offset } from './types.js'
export { int32, float32, float64, isLittleEndian } from './utils'
export { int32, float32, float64, isLittleEndian } from './utils.js'
export { Encoding } from './encoding'
export { Builder } from './builder'
export { ByteBuffer } from './byte-buffer'
export { Encoding } from './encoding.js'
export { Builder } from './builder.js'
export { ByteBuffer } from './byte-buffer.js'