fix: remove prod check
This commit is contained in:
parent
3d946429f7
commit
49c6a67373
3 changed files with 3 additions and 8 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue