mirror of
https://github.com/dbgate/dbgate
synced 2024-11-21 15:28:20 +00:00
don't include redis in output bundle
This commit is contained in:
parent
4ce2ed06e1
commit
074a75075d
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user