sw-precache-webpack-plugin-loader

1.0.2 • Public • Published

sw-precache-webpack-plugin-loader Build Status

It just another handy module to load sw-precache-webpack plugin selectively either it is working on webpack or webpack-dev-server. Please read issues1 / 2. if you have a question why there are two of modules for sw-precache.

Install

$ yarn add sw-precache-webpack-plugin-loader

or

$ npm install --save sw-precache-webpack-plugin-loader

Usage

const SWPrecacheWebpackPlugin = require('sw-precache-webpack-plugin-loader');
 
...
 
new SWPrecacheWebpackPlugin({
    // configs for sw-precache
});

Relevant Projects

License

MIT © Jimmy Moon

Package Sidebar

Install

npm i sw-precache-webpack-plugin-loader

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • ragingwind