swc/crates/swc_ecma_codegen/tests/fixture/issues/3110/output.js
Donny/강동윤 4d3fcb86e4
feat(es/ast): Support import attributes proposal (#7868)
**Related issue:**

 - Closes #7179
2023-08-28 00:29:45 +00:00

14 lines
266 B
JavaScript

import data from "./data.json" with {
type: "json"
};
import "./data2.json" with {
type: "json"
};
export { default as data3 } from "./data3.json" with {
type: "json"
};
export * as data4 from "./data4.json" with {
type: "json"
};
console.log(data);