feat: optimize plugin scan & load
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ccms/i18n": "^0.8.0",
|
||||
"@ccms/nodejs": "^0.8.0",
|
||||
"@ccms/nashorn": "^0.8.0",
|
||||
"core-js": "^3.6.5"
|
||||
},
|
||||
@ -23,4 +24,4 @@
|
||||
"rimraf": "^3.0.2",
|
||||
"typescript": "^3.9.2"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
/// <reference types="@ccms/nashorn" />
|
||||
|
||||
import '@ccms/nodejs'
|
||||
import i18n from '@ccms/i18n'
|
||||
let ployfillStartTime = new Date().getTime()
|
||||
i18n.initialize()
|
||||
|
Reference in New Issue
Block a user