How to reduce sourcemap files?

Viewed 21

I know I can reduce my code files by compressing them. But how can I reduce the file size of my source map? When I parse my code by Sentry. I get the exception that the source map too large. I try to use 'cheap-source-map' to replace 'source-map', but the filesize has not been reduced, it actually has become larger

devtool: 'source-map',

I wonder What I did wrong, can someone please lend me a hand?

0 Answers
Related