Files
AFFiNE-Mirror/scripts/vitest/next-config-mock.ts
Himself65 432e18fda8 chore: bump typescript to 5.1.3 (#2735)
Co-authored-by: LongYinan <lynweklm@gmail.com>
(cherry picked from commit c5a295a87b)
2023-06-15 01:09:48 +08:00

21 lines
474 B
TypeScript

import {
blockSuiteFeatureFlags,
buildFlags,
// @ts-expect-error
} from '@affine/web/preset.config.mjs';
export default function getConfig() {
return {
publicRuntimeConfig: {
PROJECT_NAME: 'AFFiNE Mock',
BUILD_DATE: '2021-09-01T00:00:00.000Z',
gitVersion: 'UNKNOWN',
hash: 'UNKNOWN',
editorVersion: 'UNKNOWN',
serverAPI: 'http://127.0.0.1:3000/',
editorFlags: blockSuiteFeatureFlags,
...buildFlags,
},
};
}