使用tree-shaking优化

This commit is contained in:
AncTe committed 2023-04-20 19:49:38 +08:00
1 parent 1e916be361
commit c3ae675537
13 files changed
+234 -93

No files matched your search

+3
View File
@@ -41,6 +41,9 @@ import * as rollup from 'rollup';
);
await fse.remove('./dist/maps/');
// 在线查看什么都看不到,这编辑器难道还需要留着吗?
await fse.remove('./dist/_server');
await fse.remove('./dist/editor.html');
await fse.remove('./dist/server.cjs');
} catch {}
// 2. 压缩字体