Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Commit

Permalink
import workbox from local by default
Browse files Browse the repository at this point in the history
  • Loading branch information
okitavera committed Jan 15, 2019
1 parent a12c329 commit ef85798
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ const workbox = require("workbox-build");
module.exports = (options) => {
const config = new Eleventy();
defaultOptions = {
importWorkboxFrom: "local",
cacheId: "eleventy-plugin-pwa",
swDest: `${config.outputDir}/service-worker.js`,
globDirectory: config.outputDir,
globPatterns: [
Expand Down

0 comments on commit ef85798

Please sign in to comment.