From d4903a476ae1ffdbd579c90d2072bb94fdefcf08 Mon Sep 17 00:00:00 2001 From: riku6460 <17585784+riku6460@users.noreply.github.com> Date: Tue, 13 Jun 2023 17:05:18 +0900 Subject: [PATCH] fix --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 55bc8d368..97e5c30b9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -38,8 +38,8 @@ gulp.task('copy:frontend:locales', cb => { gulp.task('build:backend:script', () => { const clientManifestExists = fs.existsSync('./built/_vite_/manifest.json'); const clientEntry = clientManifestExists ? - JSON.parse(fs.readFileSync('./built/_vite_/manifest.json', 'utf-8'))['src/init.ts'].file - : 'src/init.ts' + JSON.parse(fs.readFileSync('./built/_vite_/manifest.json', 'utf-8'))['src/_boot_.ts'].file + : 'src/_boot_.ts' return gulp.src(['./packages/backend/src/server/web/boot.js', './packages/backend/src/server/web/bios.js', './packages/backend/src/server/web/cli.js', './packages/backend/src/server/web/flush.js']) .pipe(replace('LANGS', JSON.stringify(Object.keys(locales))))