index.js 592 B

123456789101112131415161718192021222324
  1. /*
  2. Copyright 2018 Google LLC
  3. Use of this source code is governed by an MIT-style
  4. license that can be found in the LICENSE file or at
  5. https://opensource.org/licenses/MIT.
  6. */
  7. const {getModuleURL} = require('./lib/cdn-utils');
  8. const copyWorkboxLibraries = require('./lib/copy-workbox-libraries');
  9. const generateSW = require('./generate-sw');
  10. const getManifest = require('./get-manifest');
  11. const injectManifest = require('./inject-manifest');
  12. /**
  13. * @module workbox-build
  14. */
  15. module.exports = {
  16. copyWorkboxLibraries,
  17. generateSW,
  18. getManifest,
  19. getModuleURL,
  20. injectManifest,
  21. };