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
@@ -0,0 +1,51 @@
import { gql } from "graphql-tag"
import { Alert, AlertRef } from "../Fragments/Alert.graphql"
import { System } from "../Fragments/System.graphql"
export const GetSiteConfig = gql`
query GetSiteConfig($locale: String!) {
all_site_config(limit: 1, locale: $locale) {
items {
sitewide_alert {
alerts {
booking_widget_disabled
alertConnection {
edges {
node {
...Alert
}
}
}
}
}
}
}
}
${Alert}
`
export const GetSiteConfigRef = gql`
query GetSiteConfigRef($locale: String!) {
all_site_config(limit: 1, locale: $locale) {
items {
sitewide_alert {
alerts {
alertConnection {
edges {
node {
...AlertRef
}
}
}
}
}
system {
...System
}
}
}
}
${System}
${AlertRef}
`