use app version as the build id
This commit is contained in:
parent
3e70636df2
commit
4a81da6d13
|
@ -1,9 +1,11 @@
|
||||||
const { withPlausibleProxy } = require('next-plausible')
|
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()({
|
module.exports = withPlausibleProxy()({
|
||||||
generateBuildId: async () => {
|
generateBuildId: async () => {
|
||||||
return VersionLabel
|
return data.VersionLabel
|
||||||
},
|
},
|
||||||
async rewrites () {
|
async rewrites () {
|
||||||
return [
|
return [
|
||||||
|
|
Loading…
Reference in New Issue