mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-01-18 20:09:27 +08:00
修改缩略图集打包机制
This commit is contained in:
parent
fdc9b4cac2
commit
97adc97855
@ -6,8 +6,8 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vue-tsc && vite build && ts-node-esm script/build.ts",
|
"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-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",
|
"build-local": "vue-tsc && vite build --base=/ && ts-node-esm script/build.ts 1",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"preview-node": "cd dist && node server.cjs",
|
"preview-node": "cd dist && node server.cjs",
|
||||||
"update": "ts-node-esm script/update.ts",
|
"update": "ts-node-esm script/update.ts",
|
||||||
|
@ -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/_server');
|
||||||
await fse.remove('./dist/editor.html');
|
await fse.remove('./dist/editor.html');
|
||||||
|
@ -387,7 +387,7 @@
|
|||||||
"<br>",
|
"<br>",
|
||||||
"<br>",
|
"<br>",
|
||||||
"本塔的楼层传送器是一个集<span style=\"color: gold\">分区、小地图、楼层传送、浏览地图</span>于一体的多功能楼传。",
|
"本塔的楼层传送器是一个集<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>",
|
||||||
"<br>",
|
"<br>",
|
||||||
|
Loading…
Reference in New Issue
Block a user