You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: Webpack Virtual Module plugin doesn't support triggering a rebuild for webpack5,
which can cause "module not found" error when webpack5 cache is enabled.
Currently the only "non-hacky" workaround is to mark this module as non-cacheable.
这个特性解决了什么问题?
过去为支持编译预编译引入虚拟模块,由于虚拟模块本身问题禁用了部分模块缓存
NOTE: Webpack Virtual Module plugin doesn't support triggering a rebuild for webpack5,
which can cause "module not found" error when webpack5 cache is enabled.
Currently the only "non-hacky" workaround is to mark this module as non-cacheable.
See also:
cache
support sysgears/webpack-virtual-modules#76现在该问题已经在新版本修复
sysgears/webpack-virtual-modules#164
这个 API 长什么样?
升级版本并启用缓存
The text was updated successfully, but these errors were encountered: