mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 00:56:26 +08:00
ec05bd3f53
Co-authored-by: Alex Yang <himself65@outlook.com>
14 lines
343 B
TypeScript
14 lines
343 B
TypeScript
import { fileURLToPath } from 'node:url';
|
|
|
|
export type BuildFlags = {
|
|
distribution: 'browser' | 'desktop';
|
|
mode: 'development' | 'production';
|
|
channel: 'stable' | 'beta' | 'canary' | 'internal';
|
|
coverage?: boolean;
|
|
localBlockSuite?: string;
|
|
};
|
|
|
|
export const projectRoot = fileURLToPath(
|
|
new URL('../../../../', import.meta.url)
|
|
);
|