pass CHANNEL to process.env for extension to use
This commit is contained in:
parent
f770b0dbf1
commit
dfabfaad48
@ -130,7 +130,8 @@ const config = {
|
|||||||
onBuildEnd: ['node scripts/remove-evals.js'],
|
onBuildEnd: ['node scripts/remove-evals.js'],
|
||||||
}),
|
}),
|
||||||
new webpack.DefinePlugin({
|
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)
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user