Refactor snapshot build (#2825)
Instead of using core/snapshot_creator.rs, instead two crates are introduced which allow building the snapshot during build.rs. Rollup is removed and replaced with our own bundler. This removes the Node build dependency. Modules in //js now use Deno-style imports with file extensions, rather than Node style extensionless imports. This improves incremental build time when changes are made to //js files by about 40 seconds.
Showing
cli/build.rs
已删除
100644 → 0
cli/deno.gni
已删除
100644 → 0
cli_snapshots/BUILD.gn
0 → 100644
cli_snapshots/Cargo.toml
0 → 100644
cli_snapshots/README.md
0 → 100644
cli_snapshots/build.rs
0 → 100644
cli_snapshots/lib.rs
0 → 100644
cli_snapshots/run.py
0 → 100644
core/core.d.ts
已删除
100644 → 0
core/snapshot_creator.rs
已删除
100644 → 0
deno_typescript/BUILD.gn
0 → 100644
deno_typescript/Cargo.toml
0 → 100644
deno_typescript/README.md
0 → 100644
deno_typescript/amd_runtime.js
0 → 100644
deno_typescript/compiler_main.js
0 → 100644
deno_typescript/lib.rs
0 → 100644
deno_typescript/ops.rs
0 → 100644
js/plugins.d.ts
已删除
100644 → 0
... | ... | @@ -8,18 +8,6 @@ |
"eslint-config-prettier": "4.1.0", | ||
"magic-string": "0.25.2", | ||
"prettier": "1.17.1", | ||
"rollup": "1.4.1", | ||
"rollup-plugin-alias": "1.5.1", | ||
"rollup-plugin-analyzer": "3.0.0", | ||
"rollup-plugin-commonjs": "9.1.3", | ||
"rollup-plugin-node-globals": "1.4.0", | ||
"rollup-plugin-node-resolve": "4.0.1", | ||
"rollup-plugin-replace": "2.1.0", | ||
"rollup-plugin-string": "3.0.0", | ||
"rollup-plugin-typescript2": "0.19.3", | ||
"rollup-pluginutils": "2.4.1", | ||
"ts-morph": "1.3.0", | ||
"ts-node": "8.0.2", | ||
"typescript": "3.5.1" | ||
} | ||
} |
rollup.config.js
已删除
100644 → 0
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录