Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

workbox-webpack-plugin

Package Overview
Dependencies
Maintainers
3
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workbox-webpack-plugin - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

15

build/index.js

@@ -5,2 +5,3 @@ const swBuild = require('workbox-build');

* Use the instance of this in the plugins array of the webpack config.
*
* @example

@@ -20,13 +21,13 @@ * const WorkboxBuildWebpackPlugin = require('workbox-webpack-plugin');

* plugins: [
* new WorkboxBuildWebpackPlugin({
* new WorkboxBuildWebpackPlugin({
* globDirectory: './build/',
* staticFileGlobs: ['**\/*.{html,js,css}'],
* globPatterns: ['**\/*.{html,js,css}'],
* globIgnores: ['admin.html'],
* swSrc: './src/sw.js',
* swDest: './build/sw.js',
* });
* });
* ]
* }
*
* @class WorkboxBuildWebpackPlugin
* @module workbox-webpack-plugin
*/

@@ -37,4 +38,3 @@ class WorkboxBuildWebpackPlugin {

*
* @param {Object} [config] all the options as passed to `swbuild`
* @memberOf WorkboxBuildWebpackPlugin
* @param {Object} [config] All the options as passed to `workbox-build`.
*/

@@ -64,5 +64,4 @@ constructor(config) {

/**
* @private
* @param {Object} [compiler] default compiler object passed from webpack
*
* @memberOf WorkboxBuildWebpackPlugin
*/

@@ -69,0 +68,0 @@ apply(compiler) {

{
"name": "workbox-webpack-plugin",
"version": "0.0.2",
"description": "This is a webpack plugin for workbox.",
"version": "0.0.3",
"description": "A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.",
"keywords": [

@@ -26,3 +26,3 @@ "workbox",

"dependencies": {
"workbox-build": "^0.0.2"
"workbox-build": "^0.0.3"
},

@@ -32,4 +32,4 @@ "author": "Google's Web DevRel Team",

"repository": "googlechrome/sw-helpers",
"bugs": "https://github.com/googlechrome/sw-helpers/issues",
"homepage": "https://github.com/GoogleChrome/sw-helpers/tree/master/packages/workbox-webpack-plugin"
"bugs": "https://github.com/GoogleChrome/workbox/issues",
"homepage": "https://github.com/GoogleChrome/workbox/tree/master/packages/workbox-webpack-plugin"
}

@@ -1,15 +0,27 @@

<!-- DO NOT EDIT. This page is autogenerated. -->
<!-- To make changes, edit templates/Project-README.hbs, not this file. -->
# workbox-webpack-plugin
This is a webpack plugin for workbox
A plugin for your [Webpack](https://webpack.js.org/) build process, helping you
generate a manifest of local files that [`workbox-sw`](../workbox-sw) should
precache.
## Installation
`npm install --save-dev workbox-webpack-plugin`
```sh
npm install --save-dev workbox-webpack-plugin
```
## Documentation
## Reference Docs
Read more at this module's [documentation page](https://workboxjs.org/reference-docs/latest/module-workbox-webpack-plugin.html).
You can find [documentation for this module here](https://googlechrome.github.io/sw-helpers/reference-docs/stable/latest/module-workbox-webpack-plugin.html#main).
## Documentation
Read more at this module's
[getting starting page](https://workboxjs.org/get-started/webpack).
# What's Workbox?
This module is a part of Workbox, which is a collection of JavaScript libraries
for [Progressive Web Apps](https://developers.google.com/web/progressive-web-apps/).
Visit https://workboxjs.org/ to learn more about what Workbox can do for you.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc