feat: improve build config (#2115)
This commit is contained in:
1 parent
7e61708850
commit
ad58b4d1e9
9 files changed
+83
-37
No files matched your search
@@ -0,0 +1,2 @@
|
||||
// do nothing
|
||||
export {};
|
||||
@@ -1,3 +1,8 @@
|
||||
import {
|
||||
blockSuiteFeatureFlags,
|
||||
buildFlags,
|
||||
} from '../../apps/web/preset.config.mjs';
|
||||
|
||||
export default function getConfig() {
|
||||
return {
|
||||
publicRuntimeConfig: {
|
||||
@@ -7,9 +12,8 @@ export default function getConfig() {
|
||||
hash: 'UNKNOWN',
|
||||
editorVersion: 'UNKNOWN',
|
||||
serverAPI: 'http://127.0.0.1:3000/',
|
||||
enableLegacyCloud: true,
|
||||
enableBroadCastChannelProvider: true,
|
||||
enableDebugPage: true,
|
||||
editorFlags: blockSuiteFeatureFlags,
|
||||
...buildFlags,
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user