diff options
| author | Andreu Botella <andreu@andreubotella.com> | 2023-03-05 02:37:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-05 01:37:54 +0000 |
| commit | 01028fcdf4f379a7285cc15079306e3ac31edcc1 (patch) | |
| tree | deec7a6956a845771d995c45adadd9d18ca28fca /cli/tests/testdata/compile/dynamic_imports/import2.ts | |
| parent | 2f7222da8a26d8be915b9467fc21649a18f54b77 (diff) | |
test(compile): Add a test for dynamic imports in `deno compile` (#18017)
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
Diffstat (limited to 'cli/tests/testdata/compile/dynamic_imports/import2.ts')
| -rw-r--r-- | cli/tests/testdata/compile/dynamic_imports/import2.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/testdata/compile/dynamic_imports/import2.ts b/cli/tests/testdata/compile/dynamic_imports/import2.ts new file mode 100644 index 000000000..22321a5a7 --- /dev/null +++ b/cli/tests/testdata/compile/dynamic_imports/import2.ts @@ -0,0 +1 @@ +console.log("import2.ts"); |
