perf: remove data-testid in production (#2228)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
阿良仔andHimself65 authored and GitHub committed 2023-05-05 04:18:54 +00:00
1 parent 8a617f91e6
commit 92859bf8b9
4 files changed
+10

No files matched your search

+3
View File
@@ -18,6 +18,9 @@ export const blockSuiteFeatureFlags = {
* @type {import('@affine/env').BuildFlags}
*/
export const buildFlags = {
enableTestProperties: process.env.ENABLE_TEST_PROPERTIES
? process.env.ENABLE_TEST_PROPERTIES === 'true'
: true,
enableLegacyCloud: process.env.ENABLE_LEGACY_PROVIDER
? process.env.ENABLE_LEGACY_PROVIDER === 'true'
: true,