feat: initial graphql language definition

This commit is contained in:
Andrew Bastin
2021-11-10 01:16:08 +05:30
parent 7de8e6be5e
commit a9bca8e1f8
14 changed files with 769 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
import typescript from "rollup-plugin-ts"
import {lezer} from "@lezer/generator/rollup"
export default {
input: "src/index.ts",
external: id => id != "tslib" && !/^(\.?\/|\w:)/.test(id),
output: [
{file: "dist/index.cjs", format: "cjs"},
{dir: "./dist", format: "es"}
],
plugins: [lezer(), typescript()]
}