File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11import HawkCatcher from '@hawk.so/javascript' ;
22
33export const hawk = new HawkCatcher ( {
4- token : process . env . HAWK_TOKEN ,
5- release : process . env . RELEASE ,
4+ /**
5+ * Token and release would be replaced with actual values by webpack.definePlugin
6+ */
7+ token : HAWK_TOKEN ,
8+ release : RELEASE ,
69} ) ;
Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ module.exports = {
2222 new HawkWebpackPlugin ( {
2323 integrationToken : process . env . HAWK_TOKEN ,
2424 release : releaseKey ,
25- /**
26- * Custom collector endpoint for local development
27- */
28- // collectorEndpoint: 'http://localhost:3000/release',
2925 } ) ,
3026 new webpack . DefinePlugin ( {
3127 'process.env.HAWK_TOKEN' : JSON . stringify ( process . env . HAWK_TOKEN ) ,
You can’t perform that action at this time.
0 commit comments