pass CHANNEL to process.env for extension to use

This commit is contained in:
Tamius Han 2020-01-27 23:35:38 +01:00
parent f770b0dbf1
commit dfabfaad48

View File

@ -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)
})
],
};