简体   繁体   中英

IndexedDB filled with Webpack bundled files

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?

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 .

Edge DevTools 的屏幕截图,其中打开了命令菜单并显示了清除源映射缓存命令

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM