升级nextjs,修复部分依赖

This commit is contained in:
JIANG
2026-02-04 15:37:08 +08:00
parent b8d7974ce9
commit bc73db66de
5 changed files with 405 additions and 199 deletions

View File

@@ -1,6 +1,14 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
turbopack: {
rules: {
"*.svg": {
loaders: ["@svgr/webpack"],
as: "*.js",
},
},
},
webpack(config) {
config.module.rules.push({
test: /\.svg$/,