mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
feat(core): build config for ios android (#8555)
This commit is contained in:
4
packages/common/env/src/global.ts
vendored
4
packages/common/env/src/global.ts
vendored
@@ -2,7 +2,7 @@ import { UaHelper } from './ua-helper.js';
|
||||
|
||||
export type BUILD_CONFIG_TYPE = {
|
||||
debug: boolean;
|
||||
distribution: 'web' | 'desktop' | 'admin' | 'mobile';
|
||||
distribution: 'web' | 'desktop' | 'admin' | 'mobile' | 'ios' | 'android';
|
||||
/**
|
||||
* 'web' | 'desktop' | 'admin'
|
||||
*/
|
||||
@@ -15,6 +15,8 @@ export type BUILD_CONFIG_TYPE = {
|
||||
isElectron: boolean;
|
||||
isWeb: boolean;
|
||||
isMobileWeb: boolean;
|
||||
isIOS: boolean;
|
||||
isAndroid: boolean;
|
||||
|
||||
// this is for the electron app
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user