diff --git a/next.config.js b/next.config.js index 3dd7ef1..cf58013 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,11 @@ /** @type {import('next').NextConfig} */ -module.exports = { - reactStrictMode: true, +const nextConfig = { + output: 'export', + trailingSlash: true, + distDir: 'dist', + images: { + unoptimized: true, + }, }; + +module.exports = nextConfig; \ No newline at end of file diff --git a/wrangler.toml b/wrangler.toml new file mode 100644 index 0000000..357423b --- /dev/null +++ b/wrangler.toml @@ -0,0 +1,6 @@ +name = "nextjs-migration" +compatibility_date = "2023-05-18" + +[build] +command = "npm run build" +publish = "dist" \ No newline at end of file