Skip to content

feat: add CDN build for self-contained ESM bundles#6

Open
raggi wants to merge 1 commit intowiedymi:mainfrom
raggi:raggi/esm-build
Open

feat: add CDN build for self-contained ESM bundles#6
raggi wants to merge 1 commit intowiedymi:mainfrom
raggi:raggi/esm-build

Conversation

@raggi
Copy link

@raggi raggi commented Feb 28, 2026

Introduce a new build:cdn script that produces standalone, minified
ESM bundles with all dependencies inlined (dist/cdn/). These can be
loaded directly from a CDN via <script type="module"> without any build
tooling on the consumer side.

new entrypoints: restty.esm.js, internal.esm.js, xterm.esm.js.

Introduce a new `build:cdn` script that produces standalone, minified
ESM bundles with all dependencies inlined (dist/cdn/). These can be
loaded directly from a CDN via <script type="module"> without any build
tooling on the consumer side.

new entrypoints: restty.esm.js, internal.esm.js, xterm.esm.js.
@wiedymi
Copy link
Owner

wiedymi commented Mar 2, 2026

make sense, i will check how to make it properly 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants