1.0.0-1 • Published 2 years ago

unplugin-peggy v1.0.0-1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

1.0.0-1

2 years ago

1.0.0

2 years ago