mirror of
https://github.com/swc-project/swc.git
synced 2025-01-02 02:26:09 +03:00
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 } }) => {
|
||
|
|
||
|
})
|
||
|
}
|