diff --git a/frontend/webpack.config.prod.js b/frontend/webpack.config.prod.js index 434ec23488..b35c471fff 100644 --- a/frontend/webpack.config.prod.js +++ b/frontend/webpack.config.prod.js @@ -21,7 +21,11 @@ const sassLoader = 'sass-loader'; const styleLoader = 'style-loader'; const plugins = [ - new HtmlWebpackPlugin({ template: 'src/index.html.ejs' }), + new HtmlWebpackPlugin({ + template: 'src/index.html.ejs', + INTERCOM_APP_ID: process.env.INTERCOM_APP_ID, + SEGMENT_ID: process.env.SEGMENT_ID, + }), new CompressionPlugin({ exclude: /.map$/, }),