mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
8d03397293
- 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.
18 lines
321 B
Text
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"]);
|
|
|