diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-01-11 15:32:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-11 15:32:34 +0100 |
| commit | d676b6c63ada85801673f0e691f8ba11e44e347a (patch) | |
| tree | 02067230de7802bfe166139a88324dda596c6dc1 /cli/tests/bundle.test.out | |
| parent | 2b75a1155906613df16bad9d1eb84f3dc0ba571b (diff) | |
upgrade: swc_bundler 0.19.2 (#9085)
Diffstat (limited to 'cli/tests/bundle.test.out')
| -rw-r--r-- | cli/tests/bundle.test.out | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/cli/tests/bundle.test.out b/cli/tests/bundle.test.out index d90dc9f95..155430c99 100644 --- a/cli/tests/bundle.test.out +++ b/cli/tests/bundle.test.out @@ -1,23 +1,31 @@ [WILDCARD] -function printHello() { - console.log("Hello"); +function returnsHi() { + return "Hi"; } function returnsFoo() { return "Foo"; } +function printHello() { + console.log("Hello"); +} function printHello2() { printHello(); } -export function returnsHi() { - return "Hi"; -} -export function returnsFoo2() { +function returnsFoo2() { return returnsFoo(); } -export function printHello3() { +function printHello3() { printHello2(); } -export function throwsError() { +function throwsError() { throw Error("exception from mod1"); } -[WILDCARD]
\ No newline at end of file +const returnsHi1 = returnsHi; +const returnsFoo21 = returnsFoo2; +const printHello31 = printHello3; +const throwsError1 = throwsError; +export { returnsHi as returnsHi }; +export { returnsFoo2 as returnsFoo2 }; +export { printHello3 as printHello3 }; +export { throwsError as throwsError }; + |
