Skip to content

Commit

Permalink
j
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertJGabriel committed Oct 18, 2024
1 parent 4eea463 commit 171fc73
Show file tree
Hide file tree
Showing 3 changed files with 461 additions and 2,595 deletions.
3 changes: 2 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const lodash = require('lodash');
const htmlmin = require('html-minifier');
const svgContents = require('eleventy-plugin-svg-contents');
const pluginPWA = require('./tools/eleventy-plugin-pwa');
const pluginPWA = require('eleventy-plugin-pwa-v2');
const fs = require('fs');
const syntaxHighlight = require('@11ty/eleventy-plugin-syntaxhighlight');

Expand Down Expand Up @@ -118,6 +118,7 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPlugin(syntaxHighlight);
eleventyConfig.addPlugin(pluginPWA, {
swDest: './docs/service-worker.js',
cleanupOutdatedCaches: true,
globDirectory: './docs'
});
eleventyConfig.addPlugin(svgContents);
Expand Down
Loading

0 comments on commit 171fc73

Please sign in to comment.