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:
@@ -92,17 +92,6 @@ const nextConfig = {
|
||||
|
||||
output: "standalone",
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
webpack: function (config: any) {
|
||||
config.module.rules.push({
|
||||
test: /\.(graphql|gql)/,
|
||||
exclude: /node_modules/,
|
||||
loader: "graphql-tag/loader",
|
||||
})
|
||||
|
||||
return config
|
||||
},
|
||||
|
||||
// https://nextjs.org/docs/app/api-reference/next-config-js/redirects#header-cookie-and-query-matching
|
||||
redirects() {
|
||||
// Param checks needs to be split as Next.js handles everything
|
||||
|
||||
Reference in New Issue
Block a user