forked from Mirrors/doipjs
Revert change to not interfere with bundling
This commit is contained in:
parent
3393def7fe
commit
e04599962f
1 changed files with 7 additions and 4 deletions
|
@ -21,10 +21,13 @@ const list = [
|
||||||
'lobsters',
|
'lobsters',
|
||||||
]
|
]
|
||||||
|
|
||||||
const data = {}
|
const data = {
|
||||||
list.forEach((item, i) => {
|
dns: require('./serviceproviders/dns'),
|
||||||
data[item] = require(`./serviceproviders/${item}`)
|
xmpp: require('./serviceproviders/xmpp'),
|
||||||
})
|
twitter: require('./serviceproviders/twitter'),
|
||||||
|
hackernews: require('./serviceproviders/hackernews'),
|
||||||
|
lobsters: require('./serviceproviders/lobsters'),
|
||||||
|
}
|
||||||
|
|
||||||
const match = (uri, opts) => {
|
const match = (uri, opts) => {
|
||||||
let matches = [], sp
|
let matches = [], sp
|
||||||
|
|
Loading…
Reference in a new issue