snowpack-plugin-pegjs
v1.0.1
Published
With this plugin you can load [PEG.js](https://pegjs.org/) parsers directly from the source PEG file.
Downloads
3
Readme
Usage
With this plugin you can load PEG.js parsers directly from the source PEG file.
import {parse, SyntaxError} from './parser.pegjs'
Installation
npm install -D snowpack-plugin-pegjs
// snowpack.config.json
{
"plugins": [
"snowpack-plugin-pegjs",
/* ... rest of your plugins */
]
}