用途说明
()
Use a service worker to cache all your bundles’ emitted assets. This plugin will generate a service worker file using sw-precache then add it to your build directory. You can optionally pass your own sw-precache config options.
webpack.config.js配置
|
案例
|