Merge pull request #195 from vegaprotocol/fix/stats-build

[stats] Set a default env
This commit is contained in:
Edd 2022-04-01 18:09:15 +01:00 committed by GitHub
commit 9ee577c890
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

3
apps/stats/.env Normal file
View File

@ -0,0 +1,3 @@
# App configuration variables
NX_VEGA_ENV = 'MAINNET'
NX_VEGA_REST = 'https://api.token.vega.xyz/'

View File

@ -1,3 +1 @@
# App configuration variables
NX_VEGA_ENV = 'MAINNET'
NX_VEGA_REST = 'https://api.token.vega.xyz/'
# App configuration variables. No overrides for default urls

View File

@ -11,7 +11,6 @@
"compiler": "babel",
"outputPath": "dist/apps/stats",
"index": "apps/stats/src/index.html",
"baseHref": "/",
"main": "apps/stats/src/main.tsx",
"polyfills": "apps/stats/src/polyfills.ts",
"tsConfig": "apps/stats/tsconfig.app.json",
@ -31,6 +30,7 @@
"with": "apps/stats/src/environments/environment.prod.ts"
}
],
"subresourceIntegrity": true,
"optimization": true,
"outputHashing": "all",
"sourceMap": false,