Remove the deprecated plugins file

This commit is contained in:
Felipe Knorr Kuhn
2023-03-02 23:17:08 -08:00
parent 1ac8e5004f
commit 545b5be7d4
2 changed files with 12 additions and 19 deletions

View File

@@ -1,13 +0,0 @@
const fs = require('fs');
const CONFIG_FILE = 'mempool-frontend-config.json';
module.exports = (on, config) => {
if (fs.existsSync(CONFIG_FILE)) {
let contents = JSON.parse(fs.readFileSync(CONFIG_FILE, 'utf8'));
config.env.BASE_MODULE = contents.BASE_MODULE ? contents.BASE_MODULE : 'mempool';
} else {
config.env.BASE_MODULE = 'mempool';
}
return config;
}