indexeddb填充了webpack捆绑文件

发布于 2025-02-03 04:24:33 字数 280 浏览 3 评论 0原文

清洁一些东西时,我发现了这个文件夹:c:\ user \ user \ user \ appdata \ local \ microsoft \ edge \ edge \ user data \ default \ indexeddb \ devtools_devtools_0.indexeddb.blob \ 1 纯Webpack捆绑包。

我的问题是,大多数(如果不是全部)都是由我自己使用WebPack的项目生成的。这是边缘还是WebPack HMR错误/功能。如果是这样,是否有修复程序?

While cleaning some stuff I found this folder: C:\Users\user\AppData\Local\Microsoft\Edge\User Data\Default\IndexedDB\devtools_devtools_0.indexeddb.blob\1 that had 5 GB of pure webpack bundles.

My problem is that most of it (if not all) was generated by my own projects that used webpack. Is this an Edge or a webpack hmr bug/feature. And if so, is there a fix?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

貪欢 2025-02-10 04:24:33

Edge Devtools缓存加载了源地图约30天。因此,此文件夹不应永远增长。

您可以这样清除源地图缓存:

  1. 使用 ctrl+shift+shift+p 打开命令菜单(替换 ctrl cmd <> /kbd>如果您在Mac上)。
  2. 开始键入“ clear”一词,然后选择清除源地图缓存命令,按 enter

Edge DevTools caches loaded source maps for about 30 days. So, this folder should not keep growing forever.

You can clear the source map cache this way:

  1. Open the Command menu with Ctrl+shift+P (replace Ctrl with Cmd if you're on Mac).
  2. Start typing the word "Clear" and choose the Clear source maps cache command, press Enter.

Screenshot of Edge DevTools, with the Command menu opened and showing the Clear source maps cache command

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文