refactor: 1

master
xiaojunnuo 2022-10-17 20:06:41 +08:00
parent ed8b9cd5e9
commit 540981e071
1 changed files with 5 additions and 5 deletions

View File

@ -3,13 +3,13 @@ import PluginAliyun from '@certd/plugin-aliyun'
import PluginTencent from '@certd/plugin-tencent'
import PluginHost from '@certd/plugin-host'
// import options
import { createRequire } from 'module'
// 安装默认插件和授权提供者
PluginAliyun.install()
PluginTencent.install()
PluginHost.install()
// import options
import { createRequire } from 'module'
const require = createRequire(import.meta.url)
const options = require('./options.json')