How to use the workbox-cdn/package.json.version function in workbox-cdn

To help you get started, we’ve selected a few workbox-cdn examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nuxt-community / pwa-module / lib / workbox / defaults.js View on Github external
module.exports = {
  // General
  workboxVersion: require('workbox-cdn/package.json').version,
  workboxURL: undefined,
  importScripts: [],
  autoRegister: true,
  dev: undefined,

  // Config
  config: {},
  clientsClaim: true,
  skipWaiting: true,
  offlineAnalytics: false,
  workboxExtensions: [],

  // Precache
  preCaching: [],
  cacheOptions: {
    cacheId: undefined,


Workbox Unofficial CDN

Latest version published 4 years ago

Package Health Score

51 / 100
Full package analysis

Popular workbox-cdn functions