feat: initial graphql language definition
This commit is contained in:
12
packages/codemirror-lang-graphql/rollup.config.js
Normal file
12
packages/codemirror-lang-graphql/rollup.config.js
Normal 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()]
|
||||
}
|
||||
Reference in New Issue
Block a user