mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
17f17e82e6
swc_bundler: - Add a testing system for constant inliner. swc_ecma_transforms_optimization: - const_propagation: Handle export specifiers. - const_propagation: Handle inlining of variables whose initializer is inlined. - dce: Allow dropping identifiers used in `exported` part of export specifiers.
7 lines
54 B
TypeScript
7 lines
54 B
TypeScript
class a {
|
|
}
|
|
function b() {
|
|
return new a();
|
|
}
|
|
b();
|