Unexpected token (Note that you need rollup-plugin-json to import JSON files)

使用npm导入一个sdk之后,构建报错Unexpected token (Note that you need rollup-plugin-json to import JSON files),请问有没有人知道怎么解决?

哪个 SDK 说说看,你导入了 json?现在不支持导入 json