fix: add feature flag token to env
This commit is contained in:
1 parent
91aa894a58
commit
66aafeca8a
1 file changed
+3
@@ -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