1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 17:35:40 +02:00

fix(backend): devサーバーの起動に失敗することがある問題を修正 (#17317)

* fix(backend): devサーバーの起動に失敗することがある問題を修正?

* fix
This commit is contained in:
かっこかり
2026-04-16 14:33:36 +09:00
committed by GitHub
parent 37bfcb604f
commit 0be3142d54
3 changed files with 12 additions and 2 deletions

View File

@@ -88,6 +88,7 @@
"@nestjs/common": "11.1.18",
"@nestjs/core": "11.1.18",
"@nestjs/testing": "11.1.18",
"@oxc-project/runtime": "0.126.0",
"@peertube/http-signature": "1.7.0",
"@sentry/node": "10.47.0",
"@sentry/profiling-node": "10.47.0",

View File

@@ -34,7 +34,7 @@ function backendDevServerPlugin(): Plugin {
if (backendProcess) {
await killBackendProcess();
}
backendProcess = execaNode('./built/entry.js', {
backendProcess = execaNode('./built/entry.js', [], {
stdout: process.stdout,
stderr: process.stderr,
env: {
@@ -102,6 +102,6 @@ export default defineConfig((args) => {
clearScreen: false,
},
// ビルドの高速化のために、watchモードのときは外部モジュールは全てバンドルしないようにする
external: isWatchMode ? [/node_modules/] : externalModules,
external: isWatchMode ? /^(?!@\/)[^.\/](?!:[\/\\])/ : externalModules,
};
});