import data1 from "./data.json" with { type: "json" }; import data2 from "./data.json" with { type: "json" }; console.log(data1); console.log(data2);