Skip to content

Commit

Permalink
docs(js): Add troubleshooting section on terser #11692
Browse files Browse the repository at this point in the history
  • Loading branch information
chargome authored Oct 31, 2024
1 parent fb30289 commit 02b62b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/platforms/javascript/common/troubleshooting/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,12 @@ export default defineConfig({
</Expandable>
<Expandable permalink title="Terser plugin build errors">
<Include name="terser-plugin-build-error-troubleshooting.mdx" />
</Expandable>
<PlatformSection supported={['javascript.angular']}>
<Expandable
Expand Down
3 changes: 3 additions & 0 deletions includes/terser-plugin-build-error-troubleshooting.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
If you're using a custom webpack plugin that utilizes Terser or another minifier, you might encounter build errors due to a known webpack bug. This issue has been fixed in webpack version 5.85.1 and later.

For more details about this issue, see [webpack/terser-plugin build errors](https://github.com/getsentry/sentry-javascript/issues/14091).

0 comments on commit 02b62b8

Please sign in to comment.