Appearance
静态导入json
import meta from "./package.json" assert {type: "json"};
动态导入json
const { default: info } = await import("./package.json", { assert: { type: "json", }, });