Merged in chore/replace-graphql-tag/loader (pull request #3096)

Use turbopack for dev builds.
Remove graphql-tag/loader, replaced by gql`` tag literals instead.



Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-11-07 12:33:17 +00:00
parent ae3537e008
commit e9bd159e98
291 changed files with 11734 additions and 8000 deletions

View File

@@ -1,18 +0,0 @@
fragment MainLinksRef on Footer {
__typename
main_links {
pageConnection {
edges {
node {
__typename
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
}
}
}
}
system {
...System
}
}

View File

@@ -0,0 +1,31 @@
import { gql } from "graphql-tag"
import { AccountPageRef } from "../../AccountPage/Ref.graphql"
import { ContentPageRef } from "../../ContentPage/Ref.graphql"
import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql"
import { System } from "../../System.graphql"
export const MainLinksRef = gql`
fragment MainLinksRef on Footer {
__typename
main_links {
pageConnection {
edges {
node {
__typename
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
}
}
}
}
system {
...System
}
}
${System}
${LoyaltyPageRef}
${AccountPageRef}
${ContentPageRef}
`

View File

@@ -1,20 +0,0 @@
fragment SecondaryLinksRef on Footer {
__typename
secondary_links {
links {
pageConnection {
edges {
node {
__typename
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
}
}
}
}
}
system {
...System
}
}

View File

@@ -0,0 +1,33 @@
import { gql } from "graphql-tag"
import { AccountPageRef } from "../../AccountPage/Ref.graphql"
import { ContentPageRef } from "../../ContentPage/Ref.graphql"
import { LoyaltyPageRef } from "../../LoyaltyPage/Ref.graphql"
import { System } from "../../System.graphql"
export const SecondaryLinksRef = gql`
fragment SecondaryLinksRef on Footer {
__typename
secondary_links {
links {
pageConnection {
edges {
node {
__typename
...LoyaltyPageRef
...ContentPageRef
...AccountPageRef
}
}
}
}
}
system {
...System
}
}
${System}
${LoyaltyPageRef}
${AccountPageRef}
${ContentPageRef}
`