diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..3c03207 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +18 diff --git a/next.config.mjs b/next.config.mjs index f5cbc38..7b054f2 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -9,6 +9,9 @@ const nextConfig = { images: { unoptimized: true, }, + output: 'export', + trailingSlash: true, + distDir: 'out', } export default nextConfig diff --git a/public/_routes.json b/public/_routes.json new file mode 100644 index 0000000..55e77a8 --- /dev/null +++ b/public/_routes.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "include": ["/*"], + "exclude": [] +} diff --git a/wrangler.toml b/wrangler.toml new file mode 100644 index 0000000..6b8b1b2 --- /dev/null +++ b/wrangler.toml @@ -0,0 +1,7 @@ +name = "ebb-n-flow-website" +compatibility_date = "2024-01-01" + +pages_build_output_dir = "out" + +[build] +command = "npm run build"