mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +03:00
c2bbdbe9d6
swc_estree_compat: - Fix stack overflow related to object patterns. swc_webpack_}ast: - Implement AST reducer.
10 lines
186 B
JavaScript
10 lines
186 B
JavaScript
import { a } from "x";
|
|
import b from "y";
|
|
|
|
function d() {
|
|
a.x.y(), console.log(b);
|
|
require("z");
|
|
module.hot.accept("x", ({ a = 1, b: { foo }, c: { ...rest } }) => {
|
|
|
|
})
|
|
} |