Commit Graph

143 Commits

Author SHA1 Message Date
OJ Kwon
6b6b582543
chore(ci): Skip plugin e2e tests for unsupported targets (#5203) 2022-07-14 16:38:54 +09:00
OJ Kwon
2fa51ecd78
test(plugin): Setup e2e fixture testing for plugins (#5192) 2022-07-13 06:39:08 +00:00
HeYunfei
1ef541eec4
feat(es/codegen): Emit comments in emit_module (#5132) 2022-07-12 15:23:24 +00:00
overlookmotel
afd5171240
fix(node/types): Fix AST type definitions (#5175) 2022-07-12 11:46:04 +09:00
狒狒神
2a29b50c5e
fix(node/types): Add simplify (#5105) 2022-07-05 04:11:11 +00:00
magic-akari
4d5783d9cd
feat(es/modules): Add pure annotations to interop functions (#5087) 2022-07-03 05:54:07 +00:00
magic-akari
9e162dcbae
fix(es/modules): Improve compatibility with cjs lexer (#5080) 2022-07-01 08:37:04 +00:00
magic-akari
1e33dbab24
feat(es/modules): Support node interop (#5069) 2022-07-01 03:28:03 +00:00
magic-akari
2cc229e6fb
feat(es/modules): Optimize a dynamic import with a literal path (#5049) 2022-06-28 06:31:24 +00:00
magic-akari
7d4e6bef96
fix(node-swc/types): Add nodenext config type (#5044) 2022-06-28 06:03:37 +00:00
magic-akari
fa68cbd74a
refactor(es/module): Implement new module transformer (#4758) 2022-06-27 12:32:06 +00:00
Andrew Bradley
e30449b097
fix(node/types): Add ignoreDynamic to typescript types (#4832) 2022-05-28 19:23:56 +00:00
Donny/강동윤
c31b0a38ea
chore(ci): Fix CI (#4779) 2022-05-24 23:39:08 +09:00
Donny/강동윤
b8d2fb8546
feat(es/helpers): Import only used helpers (#4767) 2022-05-24 04:09:59 +00:00
Donny/강동윤
417b2182ce
fix(es/loader): Fix jsc.paths on windows (#4739) 2022-05-22 20:12:22 +00:00
Donny/강동윤
9966e98ac6
fix(es/config): Respect .swcrc (#4735) 2022-05-21 23:18:43 +09:00
Donny/강동윤
ad309f4050
fix(es/config): Auto-detect tsx (#4696) 2022-05-18 10:21:45 +00:00
Donny/강동윤
53ff81ccd6
test(es): Add a test for merging configurations (#4617) 2022-05-11 07:08:52 +00:00
Donny/강동윤
3b2b8c4512
fix(es/config): Merge jsc.transform correctly (#4615) 2022-05-11 14:28:40 +09:00
Donny/강동윤
c68dec9448 chore: Publish v1.2.181 2022-05-10 04:52:51 +09:00
Donny/강동윤
7fc9bbccd9
feat(config): Make all configuration overridable (#4575) 2022-05-09 05:38:27 +00:00
즈눅
3ed1538bfe
fix(node/types): Add types for jsc.minify.format (#4492) 2022-05-01 03:46:13 +00:00
즈눅
b63cd53ca6
chore(node/types): Add unsafe to compress options (#4362) 2022-04-18 09:39:18 +00:00
Donny/강동윤
ba5f7436c1
chore(es/minifier): Add full benchmark for .minify() (#4341) 2022-04-15 22:31:15 +00:00
那里好脏不可以
37a8c90750
chore(*): Typo + fomatting (#4304) 2022-04-11 18:45:58 +00:00
Yorkie Liu
1a48732e78
fix(node-swc/types): Add isTypeOnly to types (#4303) 2022-04-11 13:04:37 +00:00
Alexander Akait
f39d3aca4d
feat(es/ast): Add raw to Num (#4245) 2022-04-05 12:46:35 +00:00
Alexander Akait
634d732803
feat(es/ast): Add raw to Str (#4071) 2022-03-22 07:54:08 +00:00
Donny/강동윤
61f1a37492
fix(es/codegen): Fix codes related to sourcemap (#4106) 2022-03-21 05:14:45 +00:00
OJ Kwon
5a2a6037d4
feat(node-swc): Embed target triple string (#4058) 2022-03-17 07:57:16 +00:00
Alexander Akait
bd444c0ceb
fix(es/codegen): Fix codegen of string literals (#4037) 2022-03-16 14:25:26 +00:00
Donny/강동윤
834cd4f7b6
fix(es/modules): Use correct span for ExportAlls (#4038) 2022-03-16 17:10:47 +09:00
Donny/강동윤
48f2fd8e1b
fix(es): Change error message as it can be misleading (#3982) 2022-03-12 14:32:00 +09:00
David Campion
c5a0c9a0ab
feat(es): Add an option to preserve all comments (#3815) 2022-03-11 07:25:59 +00:00
nikaple
70a68a7850
fix(node-swc/types): Add reserved to TerserMangleOptions (#3959) 2022-03-11 04:31:13 +00:00
Austaras
26abc6ba7e
refactor(es/ast): Remove useless fields in private property (#3868) 2022-03-05 23:51:04 +09:00
Austaras
6f076e4927
feat(es/transform): Unify logic for handling class properties (#3766) 2022-03-05 06:46:09 +00:00
Menci
bde7577098
fix(node-swc/types): Add a missing field of ExportNamedDeclaration (#3822) 2022-03-03 06:46:30 +00:00
Menci
4d123c3789
fix(node-swc): Fix handling of OptionalChainingExpression in Visitor (#3809) 2022-03-02 10:54:53 +00:00
OJ Kwon
ffb2ee85e6
fix(node-swc): Correctly close trace spans after completion (#3811) 2022-03-02 10:03:00 +00:00
OJ Kwon
b485a2fc26
build(node-swc): Rename entrypoint to avoid artifact collision (#3806) 2022-03-02 12:23:01 +09:00
OJ Kwon
95ecc013fe
fix(node-swc/cli): Correctly expose swcx entrypoint (#3784) 2022-03-01 08:41:45 +00:00
OJ Kwon
a454996314
feat(node-swc): Add experimental trace support in @swc/core (#3731) 2022-02-25 04:06:45 +00:00
magic-akari
1743302819
feat(es/typescript): Inline typescript enums (#3647) 2022-02-24 09:19:49 +00:00
OJ Kwon
2b5eba16c3
fix(node-swc/types): Fix experimental config options (#3603) 2022-02-17 05:41:51 +00:00
OJ Kwon
07485d372e
refactor(node-swc/types): Provide typed configuration for plugins (#3584) 2022-02-16 10:10:05 +00:00
Menci
bf68155e56
fix(node-swc/types): Change StringLiteral.has_escape to StringLiteral.hasEscape (#3581) 2022-02-16 14:39:30 +09:00
Donny/강동윤
3fc16cdc1c
doc(plugin): Fix typo (#3547) 2022-02-13 01:16:52 +09:00
LongYinan
9608605772
build(node-swc): Fix GLIBC < 2.18 compatible issues and android arm binary loading issue (#3314) 2022-01-20 02:21:24 +00:00
Austaras
f58b50bea7
refactor(es/ast): Change types of member-like expressions (#3178)
swc_ecma_ast:
 - Split `MemberExpr` into `MemberExpr` and `SuperPropExpr`.
 - Use `Box<Expr>` for `MemberExpr.obj`.
 - Use ad-hoc type for `MemberExpr.prop`.
 - Use ad-hoc type for `SuperPropExpr.prop`.
 - Use `Callee` instead of  `ExprOrSpread` for `CallExpr`.
 - Simplify types for meta property expressions.
2022-01-10 13:54:42 +00:00