feat: add preloading template

This commit is contained in:
Flrande
2023-06-07 17:31:54 +08:00
committed by himself65
parent ead106b940
commit e6cd2ace7d
67 changed files with 6732 additions and 385 deletions
+4
View File
@@ -41,4 +41,8 @@ export const buildFlags = {
),
changelogUrl:
process.env.CHANGELOG_URL ?? 'http://affine.pro/blog/whats-new-affine-0601',
enablePreloading:
process.env.ENABLE_PRELOADING === undefined
? true
: process.env.ENABLE_PRELOADING === 'true',
};