mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add sourcemap and version string
This commit is contained in:
1 parent
34aa867672
commit
e9e2695fdd
5 files changed
+7
-1
No files matched your search
@@ -94,6 +94,8 @@ async function main() {
|
||||
fs.removeSync('public/vditor/dist/js/graphviz');
|
||||
fs.removeSync('public/vditor/dist/js/mermaid');
|
||||
fs.removeSync('public/vditor/dist/js/abcjs');
|
||||
const files = fs.readdirSync('public');
|
||||
files.filter((i) => /(^[in]\..+|worker)\.js\.map$/.test(i)).forEach((i) => fs.removeSync(`public/${i}`));
|
||||
}
|
||||
}
|
||||
process.chdir(dir);
|
||||
|
||||
Reference in new issue
Block a user