-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Which packages are impacted by your issue?
@graphql-codegen/client-preset
Describe the bug
Next fails to build the app when @graphql-codegen/client-preset-swc-plugin
is defined in experimental.swcPlugins
.
This is the output:
info - Creating an optimized production build ...[1] 47505 bus error yarn build
Your Example Website or App
Steps to Reproduce the Bug or Issue
- yarn build
Expected behavior
- yarn build
- happy Kamil
Screenshots or Videos
Screen.Recording.2023-04-20.at.16.25.55.mov
Platform
- OS: [e.g. macOS, Windows, Linux]
- NodeJS: v18.16.0 and v18.12.1
graphql
version: 16.6.0@graphql-codegen/cli
: ^3.3.0@graphql-codegen/client-preset
: ^3.0.0@graphql-codegen/schema-ast
: 3.0.1@graphql-codegen/client-preset-swc-plugin
: 0.1.3
Codegen Config File
// eslint-disable-next-line import/no-extraneous-dependencies
import { CodegenConfig } from '@graphql-codegen/cli';
const config: CodegenConfig = {
schema: 'https://swapi-graphql.netlify.app/.netlify/functions/index',
documents: ['components/**/*.tsx', 'pages/**/*.tsx'],
generates: {
'./gql/': {
preset: 'client',
},
},
hooks: { afterAllFileWrite: ['prettier --write'] },
};
export default config;
Additional context
No response
huv1k, kaorun343, psirenny and jpcafe10
Metadata
Metadata
Assignees
Labels
No labels