fix: remove prod check

This commit is contained in:
Cory Dransfeldt 2024-10-14 19:19:54 -07:00
parent 3d946429f7
commit 49c6a67373
No known key found for this signature in database
3 changed files with 3 additions and 8 deletions

View file

@ -75,7 +75,6 @@ export default async function (eleventyConfig) {
})
eleventyConfig.addShortcode('appVersion', () => appVersion)
eleventyConfig.addShortcode('isProduction', () => process.env.ELEVENTY_PRODUCTION === 'true')
// events
if (process.env.ELEVENTY_PRODUCTION) eleventyConfig.on('afterBuild', copyErrorPages)