fix: move std-env
out of app runtime
This commit is contained in:
parent
3d5a4e6a90
commit
494804fc1c
2 changed files with 6 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
import Inspect from 'vite-plugin-inspect'
|
||||
import { isCI } from 'std-env'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
ssr: false,
|
||||
|
@ -43,6 +44,7 @@ export default defineNuxtConfig({
|
|||
},
|
||||
},
|
||||
runtimeConfig: {
|
||||
env: isCI ? 'deployed' : 'local',
|
||||
deployUrl: process.env.PULL_REQUEST === 'true' ? process.env.DEPLOY_PRIME_URL : '',
|
||||
cloudflare: {
|
||||
accountId: '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue