build: 更新构建配置优化输出文件结构

修改nuxt配置关闭preserveModules以减少构建文件数量
调整package.json脚本简化构建流程
更新构建输出文件结构,清理旧文件并生成新文件
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-07-08 17:03:08 +08:00
parent 335d6cb1fb
commit 205252739c
192 changed files with 11322 additions and 7526 deletions

View File

@@ -86,6 +86,9 @@ const componentIslands = false;
const appId = "nuxt-app";
function baseURL() {
return useRuntimeConfig().app.baseURL;
}
function buildAssetsDir() {
return useRuntimeConfig().app.buildAssetsDir;
}
@@ -107,7 +110,7 @@ const getEntryIds = () => getClientManifest().then((r) => Object.values(r).filte
r2._globalCSS
)
).map((r2) => r2.src));
const getServerEntry = () => import('../build/server.mjs').then(function (n) { return n.K; }).then((r) => r.default || r);
const getServerEntry = () => import('../build/server.mjs').then((r) => r.default || r);
const getSSRStyles = lazyCachedFunction(() => import('../build/styles.mjs').then((r) => r.default || r));
const getSSRRenderer = lazyCachedFunction(async () => {
const manifest = await getClientManifest();
@@ -405,5 +408,5 @@ const renderer$1 = /*#__PURE__*/Object.freeze({
default: renderer
});
export { headSymbol as h, renderer$1 as r, useHead as u };
export { buildAssetsURL as a, baseURL as b, headSymbol as h, renderer$1 as r, useHead as u };
//# sourceMappingURL=renderer.mjs.map