fix: add feature flag token to env

This commit is contained in:
lawvs
2022-09-14 19:48:03 +08:00
parent 91aa894a58
commit 66aafeca8a
+3
View File
@@ -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 &&