From 30e0924bfb3c3bc23ecf461292af6e444a41a416 Mon Sep 17 00:00:00 2001 From: Yunus M Date: Wed, 20 Sep 2023 23:37:59 +0530 Subject: [PATCH] feat: onboarding flow - add analytics - update webpack config (#3599) --- frontend/webpack.config.prod.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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$/, }),