mirror of https://github.com/certd/certd
refactor: 1
parent
ed8b9cd5e9
commit
540981e071
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in New Issue