Files
Tom Moor 2a4693687b chore: Load Vite and Vitest configs as ESM (#14101)
* chore: Load Vite and Vitest configs as ESM

* fix: Resolve _FILE variables in the Vite config environment

* fix: Do not log the secret file path in the Vite config

* fix: Silence the dotenvx injection log
2026-10-16 01:40:47 +00:00

13 lines
339 B
Plaintext

require("@dotenvx/dotenvx").config({
path: process.env.NODE_ENV === "test" ? ".env.test" : ".env",
quiet: true,
});
var path = require('path');
module.exports = {
'config': path.resolve('server/config', 'database.js'),
'migrations-path': path.resolve('server', 'migrations'),
'models-path': path.resolve('server', 'models'),
}