Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / shared / lib / webpack.constants.ts
blob9a14e94e98a39327ad66ea7c0fdba721c9c858cc
1 declare const WEBPACK_FEATURE_FLAGS: string;
2 // This is a definition coming from webpack. Hide behind typeof for the test env.
3 export const FEATURE_FLAGS = typeof WEBPACK_FEATURE_FLAGS === 'undefined' ? '' : WEBPACK_FEATURE_FLAGS;
5 declare const WEBPACK_APP_MODE: string;
6 export const APP_MODE = typeof WEBPACK_APP_MODE === 'undefined' ? '' : WEBPACK_APP_MODE;
7 export const appMode = APP_MODE === 'sso' ? 'sso' : 'standalone';
9 declare const WEBPACK_PUBLIC_PATH: string;
10 export const PUBLIC_PATH = typeof WEBPACK_PUBLIC_PATH === 'undefined' ? '' : WEBPACK_PUBLIC_PATH;