修改缩略图集打包机制

This commit is contained in:
unanmed 2023-04-27 22:10:04 +08:00
parent fdc9b4cac2
commit 97adc97855
3 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,8 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build && ts-node-esm script/build.ts",
"build-gh": "vue-tsc && vite build --base=/HumanBreak/ && ts-node-esm script/build.ts",
"build-local": "vue-tsc && vite build --base=/ && ts-node-esm script/build.ts",
"build-gh": "vue-tsc && vite build --base=/HumanBreak/ && ts-node-esm script/build.ts 1",
"build-local": "vue-tsc && vite build --base=/ && ts-node-esm script/build.ts 1",
"preview": "vite preview",
"preview-node": "cd dist && node server.cjs",
"update": "ts-node-esm script/update.ts",

View File

@ -39,7 +39,7 @@ import * as rollup from 'rollup';
});
})
);
await fse.remove('./dist/maps/');
if (process.argv[2] !== '1') await fse.remove('./dist/maps/');
// 在线查看什么都看不到,这编辑器难道还需要留着吗?
await fse.remove('./dist/_server');
await fse.remove('./dist/editor.html');

View File

@ -387,7 +387,7 @@
"<br>",
"<br>",
"本塔的楼层传送器是一个集<span style=\"color: gold\">分区、小地图、楼层传送、浏览地图</span>于一体的多功能楼传。",
"<a href=\"maps/index.html\" target=\"_blank\">你也可以点击这里</a>查看所有区域的缩略图。",
"<a href=\"https://unanmed.github.io/HumanBreak/maps/index.html\" target=\"_blank\">你也可以点击这里</a>查看所有区域的缩略图。",
"下面是楼传的具体说明:",
"<br>",
"<br>",