mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
8a01e2b7b6
swc_ecma_transforms: - Add tests for #898 - dce preserves `export * from 'foo';` swc_bundler: - Fix some concurrency bugs - Run dce only once - Handle `export * from 'foo'` - Handle namespace imports with computed key - Add some unit tests for `plan` - Handle export default decl - Handle simple coomon dependencies properly
6 lines
86 B
JavaScript
6 lines
86 B
JavaScript
const b = 1;
|
|
console.log('b', b);
|
|
const b1 = b;
|
|
console.log('a');
|
|
export { b1 as a };
|