mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
14 lines
274 B
JavaScript
14 lines
274 B
JavaScript
import data from "./data.json" assert {
|
|
type: "json"
|
|
};
|
|
import "./data2.json" assert {
|
|
type: "json"
|
|
};
|
|
export { default as data3 } from "./data3.json" assert {
|
|
type: "json"
|
|
};
|
|
export * as data4 from "./data4.json" assert {
|
|
type: "json"
|
|
};
|
|
console.log(data);
|