Merged in feature/turbopack (pull request #3117)

Feature/turbopack

* .

* .

* pin import-in-the-middle

* update marker

* revert back to using *.graphql.ts


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-11-11 09:51:40 +00:00
parent ecb25cf6cd
commit bc5a606289
347 changed files with 12780 additions and 9059 deletions

View File

@@ -27,16 +27,6 @@ const nextConfig: NextConfig = {
],
],
},
webpack: function (config) {
config.module.rules.push({
test: /\.(graphql|gql)/,
exclude: /node_modules/,
loader: "graphql-tag/loader",
})
return config
},
}
export default Sentry.withSentryConfig(nextConfig, {

View File

@@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "NODE_OPTIONS=--openssl-legacy-provider PORT=3001 NEXT_PUBLIC_PORT=3001 next dev",
"dev": "NODE_OPTIONS=--openssl-legacy-provider PORT=3001 NEXT_PUBLIC_PORT=3001 next dev --turbo",
"build": "next build",
"start": "node .next/standalone/server.js",
"lint": "next lint --max-warnings 0 && tsgo --noEmit",

View File

@@ -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

View File

@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"build": "next build",
"dev": "NODE_OPTIONS=--openssl-legacy-provider PORT=3000 NEXT_PUBLIC_PORT=3000 next dev",
"dev": "NODE_OPTIONS=--openssl-legacy-provider PORT=3000 NEXT_PUBLIC_PORT=3000 next dev --turbo",
"lint": "yarn clean && next lint --max-warnings 0 && tsc",
"lint:fix": "yarn clean && next lint --fix --max-warnings 0 && tsc",
"start": "node .next/standalone/server.js",

View File

@@ -4,7 +4,8 @@ import { defineConfig } from "vitest/config"
export default defineConfig({
plugins: [
tsconfigPaths(),
// eslint-disable-next-line @typescript-eslint/no-explicit-any
tsconfigPaths() as any,
react({
babel: {
plugins: [