Skip to content

Commit 841702b

Browse files
authored
Update .eleventy.js
1 parent ac8e0d8 commit 841702b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.eleventy.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const EleventyPluginNavigation = require('@11ty/eleventy-navigation')
22
const EleventyPluginRss = require('@11ty/eleventy-plugin-rss')
33
const EleventyPluginSyntaxhighlight = require('@11ty/eleventy-plugin-syntaxhighlight')
4-
const EleventyPluginReadingTime = require('eleventy-plugin-reading-time')
4+
// const EleventyPluginReadingTime = require('eleventy-plugin-reading-time')
55
const EleventyVitePlugin = require('@11ty/eleventy-plugin-vite')
66
const { EleventyI18nPlugin } = require("@11ty/eleventy")
77
const rollupPluginCritical = require('rollup-plugin-critical').default
@@ -34,7 +34,7 @@ module.exports = function (eleventyConfig) {
3434
eleventyConfig.addPlugin(EleventyPluginNavigation)
3535
eleventyConfig.addPlugin(EleventyPluginRss)
3636
eleventyConfig.addPlugin(EleventyPluginSyntaxhighlight)
37-
eleventyConfig.addPlugin(EleventyPluginReadingTime)
37+
// eleventyConfig.addPlugin(EleventyPluginReadingTime)
3838
eleventyConfig.addPlugin(EleventyI18nPlugin, {
3939
defaultLanguage: "en",
4040
errorMode: "allow-fallback"
@@ -68,8 +68,8 @@ module.exports = function (eleventyConfig) {
6868
chunkFileNames: 'assets/js/[name]-[hash].js',
6969
entryFileNames: 'assets/js/[name]-[hash].js',
7070
manualChunks: {
71-
// PhotoSwipe: ['photoswipe'],
72-
// PhotoSwipeLightbox: ['photoswipe/lightbox'],
71+
// PhotoSwipe: ['photoswipe'],
72+
// PhotoSwipeLightbox: ['photoswipe/lightbox'],
7373
}
7474
},
7575
plugins: [rollupPluginCritical({

0 commit comments

Comments
 (0)