adjust environment variables
This commit is contained in:
parent
efade11ee2
commit
a65a6e692a
@ -7,7 +7,7 @@
|
||||
command = "npm run static"
|
||||
|
||||
[context.production]
|
||||
environment = { HASHI_ENV = "production", NODE_ENV = "production"}
|
||||
environment = { HASHI_ENV = "production" }
|
||||
|
||||
[context.deploy-preview]
|
||||
environment = { HASHI_ENV = "staging" }
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
const withHashicorp = require('@hashicorp/nextjs-scripts')
|
||||
|
||||
console.log(`Environment: ${process.env.HASHI_ENV}`)
|
||||
|
||||
module.exports = withHashicorp({
|
||||
defaultLayout: true,
|
||||
transpileModules: ['is-absolute-url', '@hashicorp/react-mega-nav'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user