diff options
Diffstat (limited to '')
| -rw-r--r-- | apps/web/next.config.mjs | 30 |
1 files changed, 10 insertions, 20 deletions
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; |
