index.js 613 B

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