Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(compile): Add a test for dynamic imports in deno compile #18017

Merged

Conversation

andreubotella
Copy link
Contributor

@andreubotella andreubotella commented Mar 5, 2023

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

denoland/eszip#115 added support for statically-analyzed dynamic
imports in eszip, which made `deno compile` support dynamic imports
starting from denoland#17858. This PR adds a test for it.
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, @andreubotella!

@dsherret dsherret enabled auto-merge (squash) March 5, 2023 01:24
@dsherret dsherret merged commit 01028fc into denoland:main Mar 5, 2023
@andreubotella andreubotella deleted the standalone-dynamic-import-test branch March 5, 2023 01:39
kt3k pushed a commit that referenced this pull request Mar 10, 2023
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
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.

Add integration test for deno compile with statically analyzable dynamic imports
2 participants