Skip to content

Commit f89547c

Browse files
committed
chore(example): get rid of unwanted comments
1 parent e345e1c commit f89547c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

example/src/hawkInstance.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import HawkCatcher from '@hawk.so/javascript';
22

33
export 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
});

example/webpack.config.cjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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),

0 commit comments

Comments
 (0)