diff --git a/next.config.js b/next.config.js index 33b2c87c..0817c9ea 100644 --- a/next.config.js +++ b/next.config.js @@ -1,9 +1,11 @@ const { withPlausibleProxy } = require('next-plausible') -const { VersionLabel } = require('/opt/elasticbeanstalk/deployment/app_version_manifest.json') // eslint-disable-line +const data = require('/opt/elasticbeanstalk/deployment/app_version_manifest.json') // eslint-disable-line + +console.log(data) module.exports = withPlausibleProxy()({ generateBuildId: async () => { - return VersionLabel + return data.VersionLabel }, async rewrites () { return [