From 0e579ee9dce917c1b783cea5506315f78b1e0a00 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Thu, 20 Feb 2020 14:35:21 +1100 Subject: 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. --- cli/tests/subdir/single_module.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 cli/tests/subdir/single_module.ts (limited to 'cli/tests/subdir') 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 {}; -- cgit v1.2.3