Rollup plugin to support JSON and JSONC (json with comments) file types.
Because the rollup hall monitor said no
<pnpm|npm|yarn> i rollup-plugin-jsonc --save-dev
import jsonc from "rollup-plugin-jsonc";
export default {
input: "src/index.js",
output: {
dir: "output",
format: "cjs",
},
plugins: [
jsonc(),
],
};