mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-18 02:46:32 +00:00
[JS] Add ".js" suffix to all import statements to generate a browser compatible mjs version. (#7086)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user