I want to boost my website performance. I recently see an error on unused javascript from lighthouse.
I checked the bundle and apparently those unused javascript are actually being used from other modules and node packages which I have been download.
For example, @sentry/node
is what I'm using, but report shows unused javascript from @sentry/hub
. But I only did install on @sentry/node
but not the whole @sentry
package. Further more, @sentry/node
is using @sentry/hub
, but I'm not importing @sentry/hub
anywhere in my code (which I assume that causes the problem)
I have included "sideEffects": false
to my package.json
file but nothing seems to work