index.js 2.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
  9. if (k2 === undefined) k2 = k;
  10. var desc = Object.getOwnPropertyDescriptor(m, k);
  11. if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
  12. desc = { enumerable: true, get: function() { return m[k]; } };
  13. }
  14. Object.defineProperty(o, k2, desc);
  15. }) : (function(o, m, k, k2) {
  16. if (k2 === undefined) k2 = k;
  17. o[k2] = m[k];
  18. }));
  19. var __exportStar = (this && this.__exportStar) || function(m, exports) {
  20. for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
  21. };
  22. Object.defineProperty(exports, "__esModule", { value: true });
  23. exports.injectManifest = exports.getModuleURL = exports.getManifest = exports.generateSW = exports.copyWorkboxLibraries = void 0;
  24. const copy_workbox_libraries_1 = require("./lib/copy-workbox-libraries");
  25. Object.defineProperty(exports, "copyWorkboxLibraries", { enumerable: true, get: function () { return copy_workbox_libraries_1.copyWorkboxLibraries; } });
  26. const cdn_utils_1 = require("./lib/cdn-utils");
  27. Object.defineProperty(exports, "getModuleURL", { enumerable: true, get: function () { return cdn_utils_1.getModuleURL; } });
  28. const generate_sw_1 = require("./generate-sw");
  29. Object.defineProperty(exports, "generateSW", { enumerable: true, get: function () { return generate_sw_1.generateSW; } });
  30. const get_manifest_1 = require("./get-manifest");
  31. Object.defineProperty(exports, "getManifest", { enumerable: true, get: function () { return get_manifest_1.getManifest; } });
  32. const inject_manifest_1 = require("./inject-manifest");
  33. Object.defineProperty(exports, "injectManifest", { enumerable: true, get: function () { return inject_manifest_1.injectManifest; } });
  34. __exportStar(require("./types"), exports);