Skip to content

Commit

Permalink
fix: whitelist defineGlobal property
Browse files Browse the repository at this point in the history
  • Loading branch information
jahilldev committed Aug 16, 2022
1 parent 6c13f7c commit b391464
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ga4/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@minimal-analytics/ga4",
"version": "1.8.4",
"version": "1.8.5",
"description": "A tiny (2KB GZipped) version of GA4, complete with page view, engagement, scroll and click tracking",
"author": "James Hill <[email protected]>",
"homepage": "https://github.com/jahilldev/minimal-analytics/tree/main/packages/ga4#readme",
Expand Down
1 change: 1 addition & 0 deletions packages/ga4/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const config = ({ mode }): Configuration[] =>
'trackingId',
'autoTrack',
'analyticsEndpoint',
'defineGlobal',
// prevent params being mangled
...Object.keys(param),
],
Expand Down

0 comments on commit b391464

Please sign in to comment.