chore(core): split sentry and setup into web/electron (#6357)

This commit is contained in:
Brooooooklyn
2024-03-28 10:24:25 +00:00
parent 88d04e23e9
commit c2847e2082
17 changed files with 463 additions and 198 deletions

View File

@@ -12,7 +12,8 @@ import { watchI18N } from '../util/i18n.js';
import { createWebpackConfig } from '../webpack/webpack.config.js';
const flags: BuildFlags = {
distribution: 'browser',
distribution:
(process.env.DISTRIBUTION as BuildFlags['distribution']) ?? 'browser',
mode: 'development',
channel: 'canary',
coverage: process.env.COVERAGE === 'true',
@@ -132,6 +133,8 @@ if (buildFlags.debugBlockSuite) {
flags.localBlockSuite = localBlockSuite;
}
console.info(flags);
watchI18N();
try {