deno/tests/specs/bundle/html
Nathan Whitaker 4e4bbf2fcc
feat(bundle): support html entrypoint (#29856)
For instance

`deno bundle --outdir dist index.html`

It will find scripts referenced in the html, bundle them, and then
update the paths in index.html for the bundled assets.

Right now it doesn't handle other assets (from `link` elements), but it
could
2025-09-09 12:18:10 -07:00
..
shared feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
sub feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
__test__.jsonc feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
a.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
assert-helpers.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
b.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
basic-bundle.asserts.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
basic-bundle.out feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
deno.json feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
file-has.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
imports-css-bundle.asserts.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
imports-css-bundle.out feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
imports-css.html feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
imports-css.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
index.html feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
index.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
multiple-html-bundle.asserts.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
multiple-html-bundle.out feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
multiple-html.html feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
multiple-scripts-bundle.asserts.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
multiple-scripts-bundle.out feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
multiple-scripts.html feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
print-dir.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
same-name-sub-folder-bundle.asserts.ts feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
same-name-sub-folder-bundle.out feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
style.css feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00