mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
11 lines
259 B
TypeScript
11 lines
259 B
TypeScript
import 'reflect-metadata';
|
|
import 'dotenv/config';
|
|
|
|
import { getDefaultAFFiNEConfig } from './config/default';
|
|
|
|
globalThis.AFFiNE = getDefaultAFFiNEConfig();
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
console.log('AFFiNE Config:', globalThis.AFFiNE);
|
|
}
|