rollup-plugin-jsonc
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i rollup-plugin-jsonc

Weekly Downloads

13

Version

0.1.1

License

WTFPL

Unpacked Size

8.45 kB

Total Files

9

Last publish

Collaborators

  • sissel