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

next-workbox

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-workbox

Next.js plugins for workbox and PWA

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
41
decreased by-67.97%
Maintainers
1
Weekly downloads
 
Created
Source

next-workbox

Next.js plugin for workbox. The plugin help you to use service worker for Next.js and now 2.0

  • After 2.x, only works with now 2.0 from zeit in production mode. You can check out after publishing your app to now
  • Built on top of next-workbox-webpack-plugin, you can use almost all options

Installation

npm install --save-dev next-workbox

or

yarn add -D next-workbox

Usage

// next.config.js
const withWorkbox = require('next-workbox');

module.exports = withWorkbox({
  generateBuildId: async () => {
    // You must have own custom build id
    return 'my-build-id';
  }
});

License

MIT © Jimmy Moon

Keywords

FAQs

Package last updated on 15 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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