用途说明
PrefetchPlugin ()
A request for a normal module, which is resolved and built even before a require to it occurs. This can boost performance. Try to profile the build first to determine clever prefetching points.
contexta absolute path to a directoryrequesta request string for a normal module
webpack.config.js配置
|
|
案例
|