From 1a713dfef8def0fc17c3cd38a937c69893fac975 Mon Sep 17 00:00:00 2001 From: snowgitea Date: Wed, 1 Jul 2026 17:45:07 +0800 Subject: [PATCH] chore: bootstrap.js --- bootstrap.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 bootstrap.js diff --git a/bootstrap.js b/bootstrap.js new file mode 100644 index 0000000..4067975 --- /dev/null +++ b/bootstrap.js @@ -0,0 +1,10 @@ +const { Bootstrap } = require('@midwayjs/bootstrap'); +const koa = require('@midwayjs/koa'); + +Bootstrap.configure({ + imports: [ + koa, + require('./dist/configuration'), + ], + moduleDetector: false, +}).run();