diff --git a/.gitignore b/.gitignore index afe2aad..f300497 100644 --- a/.gitignore +++ b/.gitignore @@ -32,4 +32,7 @@ yarn-error.log* # typescript *.tsbuildinfo -.gitattributes \ No newline at end of file +.gitattributes + +.idea +dist \ No newline at end of file diff --git a/next.config.js b/next.config.js index a099545..b4e6a2e 100644 --- a/next.config.js +++ b/next.config.js @@ -1 +1,17 @@ -module.exports = {}; \ No newline at end of file +/** + * @type {import('next').NextConfig} + */ +const nextConfig = { + output: 'export', + + // Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html` + // trailingSlash: true, + + // Optional: Prevent automatic `/me` -> `/me/`, instead preserve `href` + // skipTrailingSlashRedirect: true, + + // Optional: Change the output directory `out` -> `dist` + distDir: 'dist', +} + +module.exports = nextConfig \ No newline at end of file diff --git a/wrangler.toml b/wrangler.toml deleted file mode 100644 index fab290f..0000000 --- a/wrangler.toml +++ /dev/null @@ -1,4 +0,0 @@ -name = "my-website" -compatibility_date = "2024-09-09" -compatibility_flags = ["nodejs_compat"] -pages_build_output_dir = ".vercel/output/static" \ No newline at end of file