Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 320 Bytes

readme.md

File metadata and controls

23 lines (15 loc) · 320 Bytes

parcel-plugin-pegjs

This package adds support for pegjs in parcel.

usage

From the command line:

npm install --save-dev parcel-bundler pegjs@dev parcel-plugin-pegjs

In your code:

import parser from "./path/to/parser.pegjs";

Or...

const parser = require("./path/to/parser.pegjs");