Skip to content

panoply/rollup-plugin-jsonc

Repository files navigation

rollup-plugin-jsonc

Rollup plugin to support JSON and JSONC (json with comments) file types.

Why?

Because the rollup hall monitor said no :trollface:

Install

<pnpm|npm|yarn> i rollup-plugin-jsonc --save-dev

Usage

import jsonc from "rollup-plugin-jsonc";

export default {
  input: "src/index.js",
  output: {
    dir: "output",
    format: "cjs",
  },
  plugins: [
    jsonc(),
  ],
};

License

WTFPL

About

:trollface: Rollup plugin that supports both JSONC and JSON files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published