mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
chore(core): split sentry and setup into web/electron (#6357)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user