deploy frontend into s3 bucket (#33, #32)

This commit is contained in:
Art
2021-09-25 01:08:19 +03:00
parent f1001ce262
commit 906b1c9620
4 changed files with 75 additions and 2 deletions

View File

@ -56,6 +56,27 @@
],
"outputHashing": "all"
},
"test": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.test.ts"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,

View File

@ -0,0 +1,5 @@
export const environment = {
production: false,
apiUrl: 'http://localhost:8080',
publicUrls: ['/user/login', '/user/register', '/user/*/image/**', '/user/image/**']
};