1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00
denoland-deno/cli/tests/bundle.test.out
Kitson Kelly 8d03397293 Make bundles fully standalone (#3325)
- Bundles are fully standalone. They now include the shared loader with
  `deno_typescript`.
- Refactor of the loader in `deno_typescript` to perform module
  instantiation in a more
- Change of behaviour when an output file is not specified on the CLI.
  Previously a default name was determined and the bundle written to that
  file, now the bundle will be sent to `stdout`.
- Refactors in the TypeScript compiler to be able to support the concept
  of a request type.  This provides a cleaner abstraction and makes it
  easier to support things like single module transpiles to the userland.
- Remove a "dangerous" circular dependency between `os.ts` and `deno.ts`,
  and define `pid` and `noColor` in a better way.
- Don't bind early to `console` in `repl.ts`.
- Add an integration test for generating a bundle.
2019-11-13 10:35:56 -05:00

18 lines
321 B
Text

[WILDCARD]
let define;
[WILDCARD]
let instantiate;
[WILDCARD]
(function() {
[WILDCARD]
})();
define("print_hello", ["require", "exports"], function (require, exports) {
[WILDCARD]
});
define("mod1", ["require", "exports", "subdir2/mod2"], function (require, exports, mod2_ts_1) {
[WILDCARD]
});
instantiate(["mod1"]);