renaming plugin and test files; plugins are now in individual subdirectories (ref. #50)

merge-requests/23/head
Michał 'rysiek' Woźniak 2022-05-08 16:41:07 +00:00
rodzic 223ab797b8
commit 8d3ba16888
21 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -251,7 +251,7 @@ let initServiceWorker = async () => {
// load the relevant plugin script (if not yet loaded)
if (!LibResilientPluginConstructors.has(pluginConfig.name)) {
self.log('service-worker', `${pluginConfig.name}: loading plugin's source`)
self.importScripts(`./plugins/${pluginConfig.name}.js`)
self.importScripts(`./plugins/${pluginConfig.name}/index.js`)
}
// do we have any dependencies we should handle first?