|
1 | 1 | const EleventyPluginNavigation = require('@11ty/eleventy-navigation')
|
2 | 2 | const EleventyPluginRss = require('@11ty/eleventy-plugin-rss')
|
3 | 3 | const EleventyPluginSyntaxhighlight = require('@11ty/eleventy-plugin-syntaxhighlight')
|
4 |
| -const EleventyPluginReadingTime = require('eleventy-plugin-reading-time') |
| 4 | +// const EleventyPluginReadingTime = require('eleventy-plugin-reading-time') |
5 | 5 | const EleventyVitePlugin = require('@11ty/eleventy-plugin-vite')
|
6 | 6 | const { EleventyI18nPlugin } = require("@11ty/eleventy")
|
7 | 7 | const rollupPluginCritical = require('rollup-plugin-critical').default
|
@@ -34,7 +34,7 @@ module.exports = function (eleventyConfig) {
|
34 | 34 | eleventyConfig.addPlugin(EleventyPluginNavigation)
|
35 | 35 | eleventyConfig.addPlugin(EleventyPluginRss)
|
36 | 36 | eleventyConfig.addPlugin(EleventyPluginSyntaxhighlight)
|
37 |
| - eleventyConfig.addPlugin(EleventyPluginReadingTime) |
| 37 | + // eleventyConfig.addPlugin(EleventyPluginReadingTime) |
38 | 38 | eleventyConfig.addPlugin(EleventyI18nPlugin, {
|
39 | 39 | defaultLanguage: "en",
|
40 | 40 | errorMode: "allow-fallback"
|
@@ -68,8 +68,8 @@ module.exports = function (eleventyConfig) {
|
68 | 68 | chunkFileNames: 'assets/js/[name]-[hash].js',
|
69 | 69 | entryFileNames: 'assets/js/[name]-[hash].js',
|
70 | 70 | manualChunks: {
|
71 |
| - // PhotoSwipe: ['photoswipe'], |
72 |
| - // PhotoSwipeLightbox: ['photoswipe/lightbox'], |
| 71 | + // PhotoSwipe: ['photoswipe'], |
| 72 | + // PhotoSwipeLightbox: ['photoswipe/lightbox'], |
73 | 73 | }
|
74 | 74 | },
|
75 | 75 | plugins: [rollupPluginCritical({
|
|
0 commit comments