feat: 升级midway,支持esm

This commit is contained in:
xiaojunnuo
2024-07-15 00:30:33 +08:00
parent 970c7fd8a0
commit 485e603b51
246 changed files with 3821 additions and 1532 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
const { Bootstrap } = require('@midwayjs/bootstrap');
Bootstrap.run();
import { Bootstrap } from '@midwayjs/bootstrap';
await Bootstrap.run();