@@ -3,7 +3,7 @@ const webpack = require('webpack');
33const merge = require ( 'webpack-merge' ) ;
44const common = require ( './webpack.common.js' ) ;
55const HtmlWebpackPlugin = require ( 'html-webpack-plugin' ) ;
6- const SentryWebpackPlugin = require ( " @sentry/webpack-plugin" ) ;
6+ const SentryWebpackPlugin = require ( ' @sentry/webpack-plugin' ) ;
77
88const path = require ( 'path' ) ;
99
@@ -22,6 +22,9 @@ module.exports = merge(common, {
2222 __API_BASE__ : JSON . stringify ( process . env . API_BASE ) ,
2323 __STRIPE_PK__ : JSON . stringify ( process . env . STRIPE_PK ) ,
2424 __RECAPTCHA_PK__ : JSON . stringify ( process . env . RECAPTCHA_PK ) ,
25+ __DEPLOY_ENV__ : JSON . stringify ( process . env . CONTEXT ) ,
26+ __GIT_SHA__ : JSON . stringify ( process . env . COMMIT_REF ) ,
27+ __BRANCH__ : JSON . stringify ( process . env . BRANCH ) ,
2528 } ) ,
2629 new HtmlWebpackPlugin ( {
2730 template : path . join ( path . resolve ( __dirname , 'src' ) , 'app.html' ) ,
@@ -32,8 +35,8 @@ module.exports = merge(common, {
3235 } ,
3336 } ) ,
3437 new SentryWebpackPlugin ( {
35- org : " julian-boilen" ,
36- project : " fourtiesnyc-frontend" ,
38+ org : ' julian-boilen' ,
39+ project : ' fourtiesnyc-frontend' ,
3740
3841 // Specify the directory containing build artifacts
3942 include : path . resolve ( __dirname , 'dist' ) ,
0 commit comments