mirror of
https://github.com/outline/outline.git
synced 2026-11-20 21:23:06 +03:00
* 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
13 lines
339 B
Plaintext
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'),
|
|
}
|