mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
4d3fcb86e4
**Related issue:** - Closes #7179
14 lines
266 B
JavaScript
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);
|