mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 02:56:23 +08:00
fix: add feature flag token to env
This commit is contained in:
@@ -170,6 +170,9 @@ module.exports = function (webpackConfig) {
|
||||
),
|
||||
new webpack.DefinePlugin({
|
||||
JWT_DEV: !isProd,
|
||||
'process.env.AFFINE_FEATURE_FLAG_TOKEN': JSON.stringify(
|
||||
process.env['AFFINE_FEATURE_FLAG_TOKEN']
|
||||
),
|
||||
global: {},
|
||||
}),
|
||||
isProd &&
|
||||
|
||||
Reference in New Issue
Block a user