summaryrefslogtreecommitdiff
path: root/cli/tests/subdir
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-02-20 14:35:21 +1100
committerGitHub <noreply@github.com>2020-02-19 22:35:21 -0500
commit0e579ee9dce917c1b783cea5506315f78b1e0a00 (patch)
tree28bffb2fc7a0f73adc59e98fc9633dfb491c448c /cli/tests/subdir
parent742a16b5069b2a6dee200d908df54fab77408581 (diff)
fix: emit when bundle contains single module (#4042)
Fixes #4031 When a bundle contains a single module, we were incorrectly determining the module name, resulting in a non-functional bundle. This PR corrects that determination.
Diffstat (limited to 'cli/tests/subdir')
-rw-r--r--cli/tests/subdir/single_module.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/subdir/single_module.ts b/cli/tests/subdir/single_module.ts
new file mode 100644
index 000000000..1cd2cd781
--- /dev/null
+++ b/cli/tests/subdir/single_module.ts
@@ -0,0 +1,2 @@
+console.log("Hello world!");
+export {};