From dfabfaad48516737707aaf6368624b2a11ed559d Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Mon, 27 Jan 2020 23:35:38 +0100 Subject: [PATCH] pass CHANNEL to process.env for extension to use --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index ce396ac..25424c4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -130,7 +130,8 @@ const config = { onBuildEnd: ['node scripts/remove-evals.js'], }), new webpack.DefinePlugin({ - 'process.env.BROWSER': JSON.stringify(process.env.BROWSER) + 'process.env.BROWSER': JSON.stringify(process.env.BROWSER), + 'process.env.CHANNEL': JSON.stringify(process.env.CHANNEL) }) ], };