AFFiNE/apps/web/preset.config.mjs

13 lines
434 B
JavaScript
Raw Normal View History

import 'dotenv/config';
const config = {
enableIndexedDBProvider: Boolean(process.env.ENABLE_IDB_PROVIDER ?? '1'),
enableBroadCastChannelProvider: Boolean(
process.env.ENABLE_BC_PROVIDER ?? '1'
),
prefetchWorkspace: Boolean(process.env.PREFETCH_WORKSPACE ?? '1'),
exposeInternal: Boolean(process.env.EXPOSE_INTERNAL ?? '1'),
2023-03-03 05:00:56 +03:00
enableDebugPage: Boolean(process.env.ENABLE_DEBUG_PAGE ?? false),
};
export default config;