1.0.1 • Published 3 years ago

snowpack-plugin-pegjs v1.0.1

Weekly downloads
4
License
MPL-2.0
Repository
github
Last release
3 years ago

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 */
    ]
}
1.0.1

3 years ago

1.0.0

3 years ago