use app version as the build id
This commit is contained in:
parent
a226bac25d
commit
3e70636df2
|
@ -1,6 +1,10 @@
|
||||||
const { withPlausibleProxy } = require('next-plausible')
|
const { withPlausibleProxy } = require('next-plausible')
|
||||||
|
const { VersionLabel } = require('/opt/elasticbeanstalk/deployment/app_version_manifest.json') // eslint-disable-line
|
||||||
|
|
||||||
module.exports = withPlausibleProxy()({
|
module.exports = withPlausibleProxy()({
|
||||||
|
generateBuildId: async () => {
|
||||||
|
return VersionLabel
|
||||||
|
},
|
||||||
async rewrites () {
|
async rewrites () {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue