Skip to content

Commit 25779ce

Browse files
authored
Merge pull request #7 from database-playground/tree-shaking-gql
2 parents ec49702 + b0bc757 commit 25779ce

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

next.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ const nextConfig: NextConfig = {
55
reactStrictMode: true,
66
experimental: {
77
reactCompiler: true,
8+
swcPlugins: [
9+
["@swc-contrib/plugin-graphql-codegen-client-preset", { artifactDirectory: "./gql", gqlTagName: "graphql" }],
10+
],
811
},
912
};
1013

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"@radix-ui/react-separator": "^1.1.7",
2828
"@radix-ui/react-slot": "^1.2.3",
2929
"@radix-ui/react-tooltip": "^1.2.8",
30+
"@swc-contrib/plugin-graphql-codegen-client-preset": "^0.6.0",
3031
"@tanstack/react-table": "^8.21.3",
3132
"babel-plugin-react-compiler": "19.1.0-rc.3",
3233
"class-variance-authority": "^0.7.1",

pnpm-lock.yaml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)