Merge pull request #419 from toeverything/fix/feature-flag-env
This commit is contained in:
@@ -170,6 +170,9 @@ module.exports = function (webpackConfig) {
|
|||||||
),
|
),
|
||||||
new webpack.DefinePlugin({
|
new webpack.DefinePlugin({
|
||||||
JWT_DEV: !isProd,
|
JWT_DEV: !isProd,
|
||||||
|
'process.env.AFFINE_FEATURE_FLAG_TOKEN': JSON.stringify(
|
||||||
|
process.env['AFFINE_FEATURE_FLAG_TOKEN']
|
||||||
|
),
|
||||||
global: {},
|
global: {},
|
||||||
}),
|
}),
|
||||||
isProd &&
|
isProd &&
|
||||||
|
|||||||
Reference in New Issue
Block a user