From 8b680a7c38dc34a1844336c41a8573457ba80f3c Mon Sep 17 00:00:00 2001 From: haochengxu Date: Sun, 24 Sep 2023 19:56:15 +0800 Subject: [PATCH] add next config --- next.config.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 next.config.js diff --git a/next.config.js b/next.config.js new file mode 100644 index 0000000..e9e8152 --- /dev/null +++ b/next.config.js @@ -0,0 +1,21 @@ +/** + * @type {import('next').NextConfig} + */ +const nextConfig = { + output: 'export', + images: { + unoptimized: true + } + + // 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