You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
814 B
JavaScript
47 lines
814 B
JavaScript
"use strict";
|
|
|
|
const target = require( "@pegjs/bundler/target" );
|
|
const { VERSION } = require( "pegjs" );
|
|
|
|
const entry = require.resolve( "pegjs" );
|
|
const banner = `
|
|
|
|
/**
|
|
* PEG.js v${ VERSION }, [hash]
|
|
* https://pegjs.org/
|
|
*
|
|
* Copyright (c) 2010-2016 David Majda
|
|
* Copyright (c) 2017+ Futago-za Ryuu
|
|
*
|
|
* Released under the MIT License.
|
|
*/
|
|
|
|
/* eslint-disable */
|
|
|
|
`;
|
|
const library = "peg";
|
|
|
|
module.exports = [
|
|
|
|
/* https://unpkg.com/pegjs@latest/dist/peg.js */
|
|
target( {
|
|
|
|
banner,
|
|
entry,
|
|
library,
|
|
output: "packages/pegjs/dist/peg.js",
|
|
|
|
} ),
|
|
|
|
/* https://unpkg.com/pegjs@latest/dist/peg.min.js */
|
|
target( {
|
|
|
|
banner,
|
|
entry,
|
|
library,
|
|
output: "packages/pegjs/dist/peg.min.js",
|
|
|
|
} ),
|
|
|
|
];
|