feat: add global 404 page

This commit is contained in:
xfy
2025-05-19 20:09:20 +08:00
parent 39089feea8
commit 7b6bf536ea
10 changed files with 48 additions and 13 deletions

View File

@ -15,8 +15,9 @@ const fileLoaderPathUrl = new URL(fileLoaderPath, import.meta.url).href;
*/
const nextConfig = {
reactStrictMode: true,
// swcMinify: true,
output: 'standalone',
// output: 'standalone',
output: 'export',
trailingSlash: true,
allowedDevOrigins: [
'local-origin.dev',
'*.local-origin.dev',
@ -29,6 +30,9 @@ const nextConfig = {
hostname: '**',
},
],
unoptimized: true,
loader: 'custom',
loaderFile: './lib/image.ts',
},
experimental: {
webpackBuildWorker: true,