deno/tests/specs/bundle
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
..
allow_imports refactor(bundle): remove usage of cli module loader (#30086) 2025-07-15 14:06:42 +00:00
browser_platform feat(bundle): add --platform flag to bundle (#29697) 2025-06-12 20:28:54 -04:00
browser_platform_exports fix(bundle): use non-node conditions for --platform=browser (#30250) 2025-07-31 10:09:13 -04:00
dir_import_package_json fix(bundle): support importing directories with a package.json from an es module when bundling (#30273) 2025-07-31 22:33:25 +00:00
error_message refactor(bundle): remove usage of cli module loader (#30086) 2025-07-15 14:06:42 +00:00
externals fix(bundle): rework how patterns for externals are handled (#29680) 2025-06-10 16:58:55 +00:00
fallible_imports fix(bundle): do not error on fallible dynamic imports/requires (#30522) 2025-08-27 11:30:47 -07:00
html feat(bundle): support html entrypoint (#29856) 2025-09-09 12:18:10 -07:00
import_meta_main fix(bundle): only replace require shim in js files, spruce up output (#29892) 2025-06-26 18:35:19 +00:00
json_import fix(bundle): pass requested module type to load (#29683) 2025-06-10 15:44:32 +00:00
json_import_no_attribute fix(bundle): allow json imports without attribute in deno bundle, support require of json (#30413) 2025-08-15 17:49:22 -04:00
jsx fix(bundle): default "jsxImportSource" to "react" (#30082) 2025-07-11 16:57:07 +00:00
main fix(bundle): make the "dynamic require" hack work on minified output (#29997) 2025-07-04 02:11:09 +00:00
multiple_entries fix(bundle): only replace require shim in js files, spruce up output (#29892) 2025-06-26 18:35:19 +00:00
npm_no_bin_entry fix(bundle): don't error when using npm package without bin as entrypoint (#30523) 2025-08-26 08:18:05 -07:00
raw_imports feat(bundle): support text and bytes imports in bundle (#29908) 2025-06-26 22:39:58 +00:00
require_dotdot fix(node_resolver): incorrect resolution of require("..") (#30524) 2025-08-26 02:10:36 +00:00
sloppy_import_in_npm_package fix(bundle): resolve "sloppy imports" in npm packages when bundling (#29989) 2025-07-03 12:46:45 -07:00
sloppy_imports fix(bundle): enable sloppy imports by default when bundling (#29731) 2025-06-12 21:43:13 +00:00
sourcemap fix(bundle): only replace require shim in js files, spruce up output (#29892) 2025-06-26 18:35:19 +00:00