build: 更新构建配置优化输出文件结构
修改nuxt配置关闭preserveModules以减少构建文件数量 调整package.json脚本简化构建流程 更新构建输出文件结构,清理旧文件并生成新文件
This commit is contained in:
8
.output/server/chunks/build/errorHandler-CbUFZXp5.mjs
Normal file
8
.output/server/chunks/build/errorHandler-CbUFZXp5.mjs
Normal file
@@ -0,0 +1,8 @@
|
||||
function errorHandler({ error, redirect }) {
|
||||
if (error) {
|
||||
return redirect("/index.html");
|
||||
}
|
||||
}
|
||||
|
||||
export { errorHandler as default };
|
||||
//# sourceMappingURL=errorHandler-CbUFZXp5.mjs.map
|
||||
Reference in New Issue
Block a user