This commit is contained in:
Jan Prochazka
2020-11-26 14:23:31 +01:00
parent c96cb08cfd
commit 06e98cff9f
6 changed files with 7 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ async function loadPackageInfo(dir) {
module.exports = {
script_meta: 'get',
async script({ packageName }) {
const file = path.join(pluginsdir(), packageName, 'lib', 'frontend.js');
const file = path.join(pluginsdir(), packageName, 'dist', 'frontend.js');
const data = await fs.readFile(file, {
encoding: 'utf-8',
});