This website requires JavaScript.
Explore
Help
Sign In
swc-project
/
swc
Watch
1
Star
1
Fork
0
You've already forked swc
mirror of
https://github.com/swc-project/swc.git
synced
2024-12-19 03:31:45 +03:00
Code
Issues
Actions
5
Packages
Projects
Releases
Wiki
Activity
de6f75dc95
swc
/
crates
/
swc_bundler
/
tests
/
fixture
/
deno-8626-1
/
output
/
entry.inlined.ts
9 lines
122 B
TypeScript
Raw
Normal View
History
Unescape
Escape
fix(bundler): Fix bugs (#1382) swc_bundler: - Improve performance - Use `Vec<AHashSet<usize>>` instead of `AHashSet<(usize, usize)>`. - Fix statement orderings. (denoland/deno#9464) - Fix wrapped esm mixed with circular imports. (denoland/deno#8224) - Store content of wrapped esm at top level. (denoland/deno#8224)
2021-02-22 11:27:40 +03:00
const
foo
=
'bar'
;
fix(bundler): Fix bugs (#1342) 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.
2021-01-20 10:10:12 +03:00
const
mod
=
function
(
)
{
return
{
foo
:
foo
,
bar
:
123
}
;
}
(
)
;
console
.
log
(
mod
)
;
Reference in New Issue
Copy Permalink