Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-19 | feat(compile): Enable multiple roots for a standalone module graph (#17663) | Andreu Botella | |
This change will enable dynamic imports and web workers to use modules not reachable from the main module, by passing a list of extra side module roots as options to `deno compile`. This can be done by specifying "--include" flag that accepts a file path or a URL. This flag can be specified multiple times, to include several modules. The modules specified with "--include" flag, will be added to the produced "eszip". | |||
2023-03-05 | test(compile): Add a test for dynamic imports in `deno compile` (#18017) | Andreu Botella | |
denoland/eszip#115 added support for statically-analyzed dynamic imports in eszip, which made `deno compile` support dynamic imports starting from #17858. This PR adds a test for it. ---- This test is adapted from PR #17663. Closes #17908 |