mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
refactor: webpack config (#11421)
This commit is contained in:
@@ -50,6 +50,10 @@ export function getBuildConfig(
|
||||
discordUrl: 'https://affine.pro/redirect/discord',
|
||||
imageProxyUrl: '/api/worker/image-proxy',
|
||||
linkPreviewUrl: '/api/worker/link-preview',
|
||||
CAPTCHA_SITE_KEY: process.env.CAPTCHA_SITE_KEY ?? '',
|
||||
SENTRY_DSN: process.env.SENTRY_DSN ?? '',
|
||||
MIXPANEL_TOKEN: process.env.MIXPANEL_TOKEN ?? '',
|
||||
DEBUG_JOTAI: process.env.DEBUG_JOTAI ?? '',
|
||||
};
|
||||
},
|
||||
get beta() {
|
||||
|
||||
@@ -923,6 +923,7 @@ export const PackageList = [
|
||||
workspaceDependencies: [
|
||||
'packages/frontend/component',
|
||||
'packages/frontend/core',
|
||||
'packages/common/env',
|
||||
'packages/frontend/i18n',
|
||||
'packages/common/nbstore',
|
||||
'blocksuite/affine/all',
|
||||
@@ -961,6 +962,7 @@ export const PackageList = [
|
||||
workspaceDependencies: [
|
||||
'packages/frontend/component',
|
||||
'packages/frontend/core',
|
||||
'packages/common/env',
|
||||
'packages/frontend/i18n',
|
||||
'packages/common/nbstore',
|
||||
'blocksuite/affine/all',
|
||||
@@ -976,6 +978,7 @@ export const PackageList = [
|
||||
workspaceDependencies: [
|
||||
'packages/frontend/component',
|
||||
'packages/frontend/core',
|
||||
'packages/common/env',
|
||||
'packages/frontend/i18n',
|
||||
'packages/common/nbstore',
|
||||
'blocksuite/affine/all',
|
||||
@@ -988,6 +991,7 @@ export const PackageList = [
|
||||
workspaceDependencies: [
|
||||
'packages/frontend/component',
|
||||
'packages/frontend/core',
|
||||
'packages/common/env',
|
||||
'packages/frontend/i18n',
|
||||
'packages/common/nbstore',
|
||||
'packages/frontend/track',
|
||||
|
||||
Reference in New Issue
Block a user