강동윤
0a5e23f97c
bundler: Handle swc helpers ( #1199 )
...
swc_bundler:
- Handle helpers from `swc_ecma_transforms`.
swc_ecma_transforms:
- dce: Remove unused self-referential functions.
2020-11-05 09:53:18 +09:00
Nayeem Rahman
3cdb62bfd8
bundler: Improve hook for import.meta ( #1195 )
...
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
2020-11-02 15:22:21 +09:00
강동윤
ce6ded1dee
Fix bundler: luxon.js ( #1196 )
...
swc_bundler:
- Determine order of merging based on dependency graph. (denoland/deno#8211 )
2020-11-02 14:55:28 +09:00
강동윤
bae0eda8bd
Fix bundler ( #1194 )
...
swc_bundler:
- Remove wrong assertion. (denoland/deno#8148 )
- Remove wrong variables created on reexports. (denoland/deno#8188 )
swc_ecma_transforms:
- inlining: Treat usage as an argument as writes. (denoland/deno#8180 )
- inlining: Visit rhs of `||` and `&&`. (denoland/deno#8189 )
2020-10-30 14:49:02 +09:00
강동윤
626c881c98
bundler: Fix ordering ( #1171 )
2020-10-16 22:26:18 +09:00
강동윤
41d1738b82
bundler: Make output deterministic ( #1166 )
...
swc_bundler:
- Make output deterministic
2020-10-16 18:02:42 +09:00
강동윤
ad7cb6544d
bundler: Handle computed accesses correctly ( #1159 )
...
swc_bundler:
- Handle computed accesses to imports correctly.
- Make planning deterministic.
- Prefer exports over imports while planning.
- Fix https://deno.land/x/oak@v6.3.1/examples/server.ts
2020-10-14 23:28:38 +09:00
강동윤
6f006208ac
bundler: Fix bugs ( #1154 )
...
swc_bundler:
- Fix importing from transitive dependencies with aliases.
- Fix stack overflow while computing plan for modules with cyclic dependencies.
- Handle `export *` for function / class properly. (#1155 )
2020-10-10 18:32:31 +09:00
강동윤
9879fa59c8
bundler: fix bugs ( #1105 )
...
swc_bundler:
- Correct lca for circular dependencies.
- Handle namespaced imports. (#1109 )
- Handle namespaced reexports. (#1110 )
- Handle shorthand properly. (#1111 )
- Implement `import.meta` (#1115 )
- Handle reexport mixed with imports correctly. (#1116 )
- Handle export default decls in computed-key modules.
- Remove all export * from. output. (#1118 )
- Handle export of class or function declaration in a computed module properly. (#1119 )
swc_ecma_transforms:
- Do not rename class members. (#1117 )
2020-10-02 11:07:40 +09:00