mirror of
https://github.com/JOYCEQL/magic-resume.git
synced 2026-06-01 23:38:48 +02:00
20 lines
481 B
JavaScript
20 lines
481 B
JavaScript
import createNextIntlPlugin from "next-intl/plugin";
|
|
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
import { setupDevPlatform } from "@cloudflare/next-on-pages/next-dev";
|
|
const withNextIntl = createNextIntlPlugin();
|
|
|
|
if (process.env.NODE_ENV === "development") {
|
|
await setupDevPlatform();
|
|
}
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
// output: "export",
|
|
};
|
|
|
|
export default withNextIntl(config);
|