Revert change to not interfere with bundling

This commit is contained in:
Yarmo Mackenbach 2020-10-25 01:54:27 +02:00
parent 3393def7fe
commit e04599962f

View file

@ -21,10 +21,13 @@ const list = [
'lobsters',
]
const data = {}
list.forEach((item, i) => {
data[item] = require(`./serviceproviders/${item}`)
})
const data = {
dns: require('./serviceproviders/dns'),
xmpp: require('./serviceproviders/xmpp'),
twitter: require('./serviceproviders/twitter'),
hackernews: require('./serviceproviders/hackernews'),
lobsters: require('./serviceproviders/lobsters'),
}
const match = (uri, opts) => {
let matches = [], sp