Remove the deprecated plugins file

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

No files matched your search

-13
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;
}