Skip to content

Commit

Permalink
Merge branch 'master' into scalprum-update
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 authored Oct 4, 2023
2 parents a594940 + 383387c commit cc0beda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/webpack.plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ const plugins = (dev = false, beta = false) => {
Buffer: ['buffer', 'Buffer'],
}),
new ForkTsCheckerWebpackPlugin(),
/**
* Removes error for a missing logger function
* https://github.com/getsentry/sentry-javascript/issues/6596
* https://docs.sentry.io/platforms/javascript/guides/react/configuration/tree-shaking/#tree-shaking-optional-code
*/
new webpack.DefinePlugin({
__SENTRY_DEBUG__: false,
}),
...(dev ? [new ReactRefreshWebpackPlugin()] : []),
];
};
Expand Down

0 comments on commit cc0beda

Please sign in to comment.