.env.test can now be overridden with .env.test.local.

This commit is contained in:
Daan Vanden Bosch 2020-09-29 19:12:52 +02:00
parent 819c8aaa1c
commit 7296df7b00

View File

@ -1,4 +1,8 @@
require("dotenv").config({ path: ".env.test" });
const fs = require("fs");
require("dotenv").config({
path: fs.existsSync(".env.test.local") ? ".env.test.local" : ".env.test",
});
// For GoldenLayout.
window.$ = require("jquery");