2023-03-01 10:40:01 +03:00
|
|
|
import 'dotenv/config';
|
|
|
|
|
2023-03-02 21:01:09 +03:00
|
|
|
const config = {
|
2023-03-01 10:40:01 +03:00
|
|
|
enableIndexedDBProvider: Boolean(process.env.ENABLE_IDB_PROVIDER ?? '1'),
|
2023-03-01 22:47:09 +03:00
|
|
|
enableBroadCastChannelProvider: Boolean(
|
|
|
|
process.env.ENABLE_BC_PROVIDER ?? '1'
|
|
|
|
),
|
2023-03-01 10:40:01 +03:00
|
|
|
prefetchWorkspace: Boolean(process.env.PREFETCH_WORKSPACE ?? '1'),
|
2023-03-02 01:33:52 +03:00
|
|
|
exposeInternal: Boolean(process.env.EXPOSE_INTERNAL ?? '1'),
|
2023-03-11 02:45:10 +03:00
|
|
|
enableDebugPage: Boolean(
|
|
|
|
process.env.ENABLE_DEBUG_PAGE ?? process.env.NODE_ENV === 'development'
|
|
|
|
),
|
2023-04-14 00:22:49 +03:00
|
|
|
enableSubpage: Boolean(process.env.ENABLE_SUBPAGE ?? '1'),
|
|
|
|
enableChangeLog: Boolean(process.env.ENABLE_CHANGELOG ?? '1'),
|
2023-03-01 10:40:01 +03:00
|
|
|
};
|
2023-03-02 21:01:09 +03:00
|
|
|
export default config;
|