用途说明
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.
context
a absolute path to a directoryrequest
a request string for a normal module
webpack.config.js配置
|
|
案例
|