feat: manually generate ogi to speed up builds
This commit is contained in:
parent
25cc2f9d77
commit
7b7ce22aad
303 changed files with 87 additions and 114 deletions
|
@ -10,7 +10,6 @@ import htmlmin from 'html-minifier-terser'
|
|||
|
||||
import filters from './config/filters/index.js'
|
||||
import { slugifyString } from './config/utils/index.js'
|
||||
import { svgToJpeg } from './config/events/index.js'
|
||||
import { minifyJsComponents } from './config/events/index.js'
|
||||
import { searchIndex, tagList, postStats, tagsSortedByCount, links, tagMap, booksToRead } from './config/collections/index.js'
|
||||
|
||||
|
@ -142,7 +141,6 @@ export default async function (eleventyConfig) {
|
|||
})
|
||||
|
||||
// events
|
||||
eleventyConfig.on('afterBuild', svgToJpeg)
|
||||
eleventyConfig.on('afterBuild', minifyJsComponents)
|
||||
|
||||
return {
|
||||
|
|
Reference in a new issue