feat: onboarding flow - add analytics - update webpack config (#3599)

This commit is contained in:
Yunus M 2023-09-20 23:37:59 +05:30 committed by GitHub
parent ccada08db5
commit 30e0924bfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,11 @@ const sassLoader = 'sass-loader';
const styleLoader = 'style-loader'; const styleLoader = 'style-loader';
const plugins = [ 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({ new CompressionPlugin({
exclude: /.map$/, exclude: /.map$/,
}), }),