feat: migrate to ESM

This commit is contained in:
alex8088
2023-12-08 22:03:47 +08:00
parent 8bb03f8b24
commit b93a1878c1
7 changed files with 35 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ if (debugIndex > 0) {
}
function run() {
require('../dist/cli')
import('../dist/cli.mjs')
}
run()