Answer · Turn on JSON module importing (by passing a CLI flag) · Create a require function in your ESM code · JSON.parse the file manually.
確定! 回上一頁