mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 04:34:47 +00:00
format and fix issues
This commit is contained in:
parent
d9db74a956
commit
711088786a
7
build.ts
7
build.ts
@ -5,7 +5,7 @@ import {
|
||||
statSync,
|
||||
writeFileSync,
|
||||
readFileSync,
|
||||
rmSync,
|
||||
// rmSync,
|
||||
} from 'fs';
|
||||
import { resolve, dirname, basename } from 'path';
|
||||
import { minify } from 'html-minifier';
|
||||
@ -29,7 +29,10 @@ function getFiles(baseDir: string, dir?: string, filesArr?: string[]) {
|
||||
|
||||
const isDev = process.env.NODE_ENV === 'development' ? true : false;
|
||||
const srcDir = resolve(import.meta.dir, 'src');
|
||||
const publicDir = resolve(import.meta.dir, process.env['BUILD_PATH'] ?? 'public');
|
||||
const publicDir = resolve(
|
||||
import.meta.dir,
|
||||
process.env['BUILD_PATH'] ?? 'public',
|
||||
);
|
||||
const srcFiles = getFiles(resolve(import.meta.dir, 'src'));
|
||||
const bundleFiles: string[] = [];
|
||||
const minifyFiles: string[] = [];
|
||||
|
@ -1025,5 +1025,6 @@ if (window.location.hostname === null) {
|
||||
backups,
|
||||
consoleLog,
|
||||
openAboutBlank,
|
||||
$,
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user