diff options
Diffstat (limited to 'cli/tests/testdata/compile/dynamic_imports_tmp_lit/main.js')
-rw-r--r-- | cli/tests/testdata/compile/dynamic_imports_tmp_lit/main.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cli/tests/testdata/compile/dynamic_imports_tmp_lit/main.js b/cli/tests/testdata/compile/dynamic_imports_tmp_lit/main.js deleted file mode 100644 index 3bda59772..000000000 --- a/cli/tests/testdata/compile/dynamic_imports_tmp_lit/main.js +++ /dev/null @@ -1,14 +0,0 @@ -const fileNames = [ - "a.js", - "b.ts", -]; - -for (const fileName of fileNames) { - await import(`./sub/${fileName}`); -} - -const jsonFileNames = ["data.json", "sub/data2.json"]; -for (const fileName of jsonFileNames) { - const mod = await import(`./other/${fileName}`, { with: { type: "json" } }); - console.log(mod.default); -} |