This commit is contained in:
parent
28d1b6c254
commit
1696633a15
|
|
@ -50,13 +50,16 @@ export default defineNuxtConfig({
|
|||
},
|
||||
preset: 'node-server',
|
||||
prerender: {
|
||||
routes: [], // 不渲染任何页面
|
||||
crawlLinks: false, // 不扫描 <a> 链接
|
||||
failOnError: false // 即使报错也继续构建
|
||||
routes: [],
|
||||
crawlLinks: false,
|
||||
failOnError: false
|
||||
}
|
||||
},
|
||||
|
||||
vite: {
|
||||
ssr: {
|
||||
noExternal: ['@matechat/core'],
|
||||
},
|
||||
plugins: [
|
||||
createSvgIconsPlugin({
|
||||
iconDirs: [fileURLToPath(new URL("./src/assets/icons", import.meta.url))],
|
||||
|
|
|
|||
Loading…
Reference in New Issue