Skip to content

Commit

Permalink
chore: support older targets so there are less webpack bugs (#1838)
Browse files Browse the repository at this point in the history
* chore: support older targets so there are less webpack bugs
* chore: go back up to es6 because es5 was giving issues
  • Loading branch information
acao authored Apr 24, 2021
1 parent b631662 commit 5b8a057
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .changeset/strange-jobs-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'graphql-language-service': patch
'monaco-graphql': patch
'codemirror-graphql': patch
'graphiql': patch
'@graphiql/toolkit': patch
'graphql-language-service-interface': patch
'graphql-language-service-parser': patch
'graphql-language-service-types': patch
'graphql-language-service-utils': patch
---

Set all cross-runtime build targets to es6
2 changes: 1 addition & 1 deletion packages/graphql-language-service/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"composite": true,
"rootDir": "./src",
"outDir": "./dist",
"baseUrl": "./src"
"baseUrl": "."
},
"references": [
{
Expand Down
1 change: 0 additions & 1 deletion packages/monaco-graphql/tsconfig.esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"baseUrl": ".",
"rootDir": "./src",
"outDir": "./esm",
"target": "es6",
"lib": [
"dom",
"es5",
Expand Down
2 changes: 1 addition & 1 deletion packages/monaco-graphql/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"references": [
{
"path": "../graphql-language-service/tsconfig.esm.json"
"path": "../graphql-language-service"
}
],
"include": ["./src"],
Expand Down
1 change: 1 addition & 0 deletions resources/tsconfig.base.cjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"downlevelIteration": true,
"removeComments": true,
"strict": true,
"jsx": "react",
Expand Down

0 comments on commit 5b8a057

Please sign in to comment.