don't include redis in output bundle

This commit is contained in:
Jan Prochazka 2022-03-16 18:44:10 +01:00
parent 4ce2ed06e1
commit 074a75075d

View File

@ -6,6 +6,8 @@ function load() {
for (const packageName of fs.readdirSync('plugins')) {
if (!packageName.startsWith('dbgate-plugin-')) continue;
// TODO skip redis when creating output bundle
if (packageName == 'dbgate-plugin-redis') continue;
const dir = path.join('plugins', packageName);
const frontend = fs.readFileSync(path.join(dir, 'dist', 'frontend.js'), 'utf-8');
const readme = fs.readFileSync(path.join(dir, 'README.md'), 'utf-8');