fix: compiling issues for codemirror-lang-graphql
This commit is contained in:
1
packages/codemirror-lang-graphql/.gitignore
vendored
1
packages/codemirror-lang-graphql/.gitignore
vendored
@@ -1,5 +1,4 @@
|
||||
/node_modules
|
||||
package-lock.json
|
||||
/dist
|
||||
/src/*.js
|
||||
/src/*.d.ts
|
||||
|
||||
@@ -2,7 +2,7 @@ import typescript from "rollup-plugin-ts"
|
||||
import {lezer} from "@lezer/generator/rollup"
|
||||
|
||||
export default {
|
||||
input: "src/index.ts",
|
||||
input: "src/index.js",
|
||||
external: id => id != "tslib" && !/^(\.?\/|\w:)/.test(id),
|
||||
output: [
|
||||
{file: "dist/index.cjs", format: "cjs"},
|
||||
|
||||
@@ -338,7 +338,7 @@ TypeSystemDirectiveLocation {
|
||||
|
||||
@tokens {
|
||||
Whitespace {
|
||||
std.whitespace
|
||||
std.whitespace+
|
||||
}
|
||||
StringValue {
|
||||
"\"\"\"" (!["] | "\\n" | "\"" "\""? !["])* "\"\"\"" | "\"" !["\\\n]* "\""
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
"module": "es2020",
|
||||
"newLine": "lf",
|
||||
"declaration": true,
|
||||
"moduleResolution": "node"
|
||||
"moduleResolution": "node",
|
||||
"allowJs": true,
|
||||
},
|
||||
"include": ["src/*.ts"]
|
||||
}
|
||||
"include": ["src/*"]
|
||||
}
|
||||
Reference in New Issue
Block a user