dev #14384 Правка ошибок отображения WPA КофеЛайк: add second build
This commit is contained in:
parent
64585fd4ef
commit
85b260b4cd
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -15,6 +15,7 @@ node('Palladium'){
|
||||
dir('angular'){
|
||||
sh label: '', script: 'npm i'
|
||||
sh label: '', script: 'npm run build'
|
||||
sh label: '', script: 'npm run build2'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,6 +69,28 @@
|
||||
],
|
||||
"outputHashing": "all"
|
||||
},
|
||||
"production2": {
|
||||
"outputPath": "/var/www/html/lk.crm4retail.ru/coffee-like2",
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "4mb",
|
||||
"maximumError": "5mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "2kb",
|
||||
"maximumError": "4kb"
|
||||
}
|
||||
],
|
||||
"fileReplacements": [
|
||||
{
|
||||
"replace": "src/environments/environment.ts",
|
||||
"with": "src/environments/environment2.prod.ts"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all"
|
||||
},
|
||||
"development": {
|
||||
"buildOptimizer": false,
|
||||
"optimization": false,
|
||||
|
||||
@ -6,6 +6,7 @@
|
||||
"start": "ng serve --host 192.168.0.14",
|
||||
"build": "ng build --aot --configuration production --output-hashing none",
|
||||
"watch": "ng build --watch --configuration development",
|
||||
"build2": "ng build --aot --configuration production2 --output-hashing none",
|
||||
"test": "ng test"
|
||||
},
|
||||
"private": true,
|
||||
|
||||
25
angular/src/environments/environment2.prod.ts
Normal file
25
angular/src/environments/environment2.prod.ts
Normal file
@ -0,0 +1,25 @@
|
||||
import packageJson from '../../package.json';
|
||||
|
||||
export const environment = {
|
||||
production: true,
|
||||
appAuthEndpoint: 'https://auth.crm4retail.ru/tnt',
|
||||
appBonusEndpoint: 'https://customerapi2.mi.crm4retail.ru/json.rpc/',
|
||||
appWPEndpoint: 'http://213.239.210.240:4500/wp-json/woofood/v1/',
|
||||
hasBonusProgram: true,
|
||||
systemId: 'tsQ2cu59Xz9qgGTm3z',
|
||||
defaultUrl: 'https://coffee-like.lk.crm4retail.ru',
|
||||
manifestUrl: 'https://club.coffee-like.com/manifest.webmanifest',
|
||||
firebase: {
|
||||
apiKey: 'AIzaSyDTb_xuMz2vDx8xGs34AJiltraKVlwmrtY',
|
||||
authDomain: 'coffee-like-77bfe.firebaseapp.com',
|
||||
projectId: 'coffee-like-77bfe',
|
||||
storageBucket: 'coffee-like-77bfe.appspot.com',
|
||||
messagingSenderId: '1094726277369',
|
||||
appId: '1:1094726277369:web:8af560662da7700e7a2a28',
|
||||
},
|
||||
version: packageJson.version,
|
||||
appleWalletEndpoint: 'https://apple-wallet-iiko.it-retail.tech/apns/api',
|
||||
icardProxy: 'https://coffee-like.lk.crm4retail.ru/api/icard-proxy/',
|
||||
appleWalletSecret: 'Token F5mbzEERAznGKVbB6l',
|
||||
clientName: 'coffeelike',
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user