From be420c9aebb0f2d343a0c94327fddc089f56d402 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 20 Aug 2025 16:23:47 +0300 Subject: deps: Upgrade nextjs to 15.5 --- apps/web/next.config.mjs | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) (limited to 'apps/web/next.config.mjs') diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs index df864f22..adbb209d 100644 --- a/apps/web/next.config.mjs +++ b/apps/web/next.config.mjs @@ -1,24 +1,6 @@ -import pwa from "next-pwa"; - -const withPWA = pwa({ - dest: "public", - disable: process.env.NODE_ENV != "production", -}); - /** @type {import('next').NextConfig} */ -const nextConfig = withPWA({ +const nextConfig = { output: "standalone", - webpack: (config) => { - config.module.rules.push({ - test: /\.svg$/, - use: ["@svgr/webpack"], - }); - return config; - }, - devIndicators: { - buildActivity: true, - buildActivityPosition: "bottom-left", - }, async headers() { return [ { @@ -49,12 +31,20 @@ const nextConfig = withPWA({ }, ]; }, + turbopack: { + rules: { + "*.svg": { + loaders: ["@svgr/webpack"], + as: "*.js", + }, + }, + }, // transpilePackages: ["@karakeep/shared", "@karakeep/db", "@karakeep/trpc"], /** We already do linting and typechecking as separate tasks in CI */ eslint: { ignoreDuringBuilds: true }, typescript: { ignoreBuildErrors: true }, -}); +}; export default nextConfig; -- cgit v1.2.3-70-g09d2