next.js - NextJS Export remove Source Map
问题描述
Combined with @nextJS/Sentry the build is now creating a lot of js.map files.
As we build a static site
next build
next export
These map files are getting included in the export and increase the bundle size from 16mb to 64mb in weight.
Has anyone else experienced this and knows a crafty way to achieve uploading the source maps to sentry and not including them in our static build?
解决方案
推荐阅读
- openhardwaremonitor - 使用openhardwaremonitor dll问题
- javascript - TypeError: setCartCount 不是一个函数 - React Hooks - Redux
- javascript - 如何设置子对象的状态
- python - 如何矢量化这个循环?
- javascript - 如何计算文本区域中的字符?
- javascript - 如何根据每个对象内的数组从对象数组中返回某些对象?
- shell - 为什么我的用于创建拆分窗口 tmux 会话的 shell 脚本不起作用
- javascript - rShiny 自定义 css javascript 滑块 - 如何从中获取值?
- acme - 使用 step-ca 作为中间 ca,并带有父 CA 提供的证书
- amazon-web-services - 为什么 Spark 应用程序使用多个 csv 文件将 DataFrame 保存到 S3 存储桶