import { withSerwist } from "@serwist/turbopack"; import createNextIntlPlugin from "next-intl/plugin"; const withNextIntl = createNextIntlPlugin("./app/i18n.ts"); /** @type {import('next').NextConfig} */ const nextConfig = { output: "standalone", images: { unoptimized: true, }, webpack: (config, { dev, isServer }) => { config.resolve.alias = { ...config.resolve.alias, "osx-temperature-sensor": false, }; if (dev && !isServer) { config.watchOptions = { ...config.watchOptions, ignored: /node_modules/, }; } return config; }, async headers() { return [ { source: "/manifest.json", headers: [ { key: "Content-Type", value: "application/manifest+json" }, ], }, ]; }, }; export default withSerwist(withNextIntl(nextConfig));