unplugin-peggy
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-1 • Public • Published

unplugin-peggy

The unified plugin of Peggy (a fork of PEG.js) for webpack/rollup/vite/... It is originally forked from rollup-plugin-peggy & rollup-plugin-pegjs, which are seemed not actively maintained.

Installation

npm i -D unplugin-peggy

Usage

Take rollup as an example:

import { defineConfig } from 'rollup';
import peggy from 'unplugin-peggy';

export default defineConfig({
  plugins: [peggy.rollup()],
});

The detail of the options can be found in the TypeScript declaration file.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i unplugin-peggy

Weekly Downloads

7

Version

1.0.0-1

License

MIT

Unpacked Size

7.56 kB

Total Files

7

Last publish

Collaborators

  • yfwz100