flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

[TS/JS] Reintroduce legacy single file build for global scope import

Open bjornharrtell opened this issue 3 years ago • 1 comments
trafficstars

The suggested way to do this is to use a bundler to create a so called UMD single file build (or IIFE) with entry point 'flatbuffers' from what the TypeScript compiler produces in mjs (ES module output). I recommend https://rollupjs.org/guide/en/.

bjornharrtell avatar Aug 10 '22 23:08 bjornharrtell

This will provide a level of backward compatibility with flatbuffers 1.x that we dropped because lack of interest / resources at the time I did the JavaScript/TypeScript modernization effort.

bjornharrtell avatar Aug 10 '22 23:08 bjornharrtell

This issue is stale because it has been open 6 months with no activity. Please comment or label not-stale, or this will be closed in 14 days.

github-actions[bot] avatar Mar 04 '23 01:03 github-actions[bot]

This issue was automatically closed due to no activity for 6 months plus the 14 day notice period.

github-actions[bot] avatar Mar 18 '23 20:03 github-actions[bot]