Dunqing
9a03bd23b9
fix(transformer/typescript): remove type-only import = when only_remove_type_imports is true ( #8275 )
...
close: https://github.com/oxc-project/oxc/issues/8230
close: https://github.com/rolldown/rolldown/issues/3287
Related PR in Babel: https://github.com/oxc-project/oxc/issues/8230
I have compared our output with TypeScript, and it is the same as `TypeScript`, Babel's implementation currently hasn't removed imports referenced by type-only `TSImportEqualsDeclaration`
2025-01-11 08:42:51 +00:00
Dunqing
e5ee38fdf1
chore(transformer): enable class-properties plugin ( #7750 )
...
Done!
2024-12-31 12:30:58 +00:00
Boshen
c16a85176d
feat(napi/transform): add jsx: 'preserve' option ( #7965 )
...
closes #7958
2024-12-17 13:49:51 +00:00
Boshen
2803aec521
feat(napi/transform): return helpers information ( #7737 )
...
closes #7599
2024-12-09 14:07:40 +00:00
Boshen
c254a5b12c
test(napi/transform): use the expect API instead of assert ( #7739 )
2024-12-09 09:28:01 +00:00
Boshen
c98457db5c
feat(napi/transformer): add runtime helper mode ( #7727 )
...
part of #7599
2024-12-08 15:29:55 +00:00
Kevin Deng 三咲智子
245d7d922c
fix(oxc_transformer): alias es2015 to es6 ( #7673 )
...
Supported in
[esbuild](https://esbuild.github.io/try/#dAAwLjI0LjAALS10YXJnZXQ9ZXM2ADEqKjI )
2024-12-05 16:26:05 +08:00
Kevin Deng 三咲智子
be2293a1b5
fix(napi/transform): respect options.sourcemap for id ( #7590 )
...
Don't pass `source_map_path` if `options.sourcemap` is undefined or
false; then, `IsolatedDeclarationsResult.map` should be undefined.
Downstream issue
https://github.com/unplugin/unplugin-isolated-decl/issues/42
---------
Co-authored-by: Boshen <boshenc@gmail.com>
2024-12-03 11:57:44 +08:00
Boshen
713e210012
chore(transformor): disable class properties transform ( #7486 )
...
The plugin is not ready.
2024-11-26 03:47:46 +00:00
Boshen
59e7e4674f
feat(napi/transform): add TransformOptions::target API ( #7426 )
2024-11-23 15:46:33 +00:00
Boshen
be819dded1
test(napi/transform): add test for not default es transform
2024-11-10 00:21:26 +08:00
Boshen
b4258ee58e
feat(transformer): add defaulted Module::Preserve option ( #7225 )
2024-11-09 12:55:13 +00:00
Boshen
fc86703933
refactor(napi/transform): change test files to TypeScript ( #7221 )
2024-11-09 17:32:15 +08:00