강동윤
32b3bbd50b
Emit only ascii ( #1191 )
...
swc_ecma_codegen:
- Emit only ascii characters. (#1187 , #1188 )
2020-10-29 14:33:33 +09:00
강동윤
b2aec35eb6
Fix issues ( #1189 )
...
swc_bundler:
- Support emitting iife. (Closes #1184 )
swc_ecma_parser:
- Auto-detect script / module (Closes #1164 )
- lexer: Error recovery for strict mode and module mode.
- More error recovery logic for strict mode violation.
- Fix panic on invalid input. (Closes #1170 )
2020-10-28 21:20:11 +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
강동윤
5a91ab994c
bundler: Fix dead code elimination ( #1157 )
...
swc_bundler:
- Fix dce bug. (#1156 )
swc_ecma_transforms:
- resolver: Ignore non-computed class properties.
- dce: Handle usages in class property initializers.
2020-10-12 00:36:44 +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
강동윤
f0ea70cb25
bundler: Allow importing and exporting from same module ( #1152 )
...
swc_bundler:
- Allow importing and exporting from same module. (#1150 )
2020-10-09 19:10:25 +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