Skip to content

Commit 1a07de7

Browse files
fix: external graphql
1 parent 0b62d18 commit 1a07de7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/nitro/setup/rollup-integration.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ export function setupRollupExternals(nitro: Nitro): void {
131131
const codegenExternals = [
132132
'oxc-parser',
133133
'@oxc-parser',
134-
// Ensure single graphql instance across all modules
135-
'graphql',
136134
// Native modules must be external - they contain binary .node files
137135
'nitro-graphql/native',
138136
'nitro-graphql-darwin-arm64',
@@ -152,6 +150,7 @@ export function setupRollupExternals(nitro: Nitro): void {
152150

153151
// Apollo Federation is optional - only mark as external if NOT enabled
154152
// (if enabled, it will be bundled; if not, it won't be imported at all)
153+
// TODO: i think delete this comment
155154
if (!nitro.options.graphql?.federation?.enabled) {
156155
const federationExternals = [
157156
'@apollo/subgraph',

0 commit comments

Comments
 (0)