Skip to content

Commit

Permalink
thiiis
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Nov 13, 2024
1 parent d14482b commit 1836e8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ export default withGuildDocs({
// fixes TypeError: esquery.parse is not a function in browser
esquery: require.resolve('esquery'),
// fixes for @eslint/eslintrc TypeError: __webpack_require__(...).pathToFileURL is not a function
eslint: require.resolve('eslint').replace(/api\.js$/, `linter${sep}index.js`),
eslint: require.resolve('eslint').replace(/api\.js$/, `linter${path.sep}index.js`),
'@graphql-eslint/eslint-plugin': require
.resolve('@graphql-eslint/eslint-plugin')
.replace(`cjs${sep}index.js`, 'index.browser.js'),
.replace(`cjs${path.sep}index.js`, 'index.browser.js'),

// fixes Cannot use GraphQLNonNull "Boolean!" from another module or realm.
'graphql/utilities/valueFromASTUntyped.js': require.resolve(
Expand Down

0 comments on commit 1836e8a

Please sign in to comment.