mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: build: bugfix
This commit is contained in:
1 parent
9b8833453c
commit
178beb58de
2 files changed
+2
-2
No files matched your search
@@ -91,7 +91,7 @@ async function main() {
|
|||||||
fs.copyFileSync('public/hydro.js', `public/hydro-${pkg.version}.js`);
|
fs.copyFileSync('public/hydro.js', `public/hydro-${pkg.version}.js`);
|
||||||
}
|
}
|
||||||
if (fs.existsSync('public/default.theme.css')) {
|
if (fs.existsSync('public/default.theme.css')) {
|
||||||
fs.copyFileSync('public/default.theme.css', `public/default-${pkg.version}.theme.js`);
|
fs.copyFileSync('public/default.theme.css', `public/default-${pkg.version}.theme.css`);
|
||||||
}
|
}
|
||||||
if (argv.options.production) {
|
if (argv.options.production) {
|
||||||
fs.removeSync('public/vditor/dist/js/mathjax');
|
fs.removeSync('public/vditor/dist/js/mathjax');
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.32.2",
|
"version": "4.32.3",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
Reference in new issue
Block a user