lulu-berlin / rusty-typescript

A TypeScript compiler written in Rust
https://twitter.com/TypescriptRusty
Apache License 2.0
235 stars 6 forks source link

Bundle inlined-wasm .js files together into 1 UMD .js file #5

Closed lulu-berlin closed 5 years ago

lulu-berlin commented 5 years ago

wasm-pack creates 2 JS files (besides the .wasm file that we are inlining): rusty_typescript.js and rust_typescript_bg.js.

It will be easier to inject this code in TypeScript if this was only 1 JS file.

We will use webpack with gulp to bundle them together.

An inportant concern here is to make sure that the code is inside a namespace.