Initialize docker build configuration.
This commit is contained in:
@@ -13,6 +13,12 @@
|
||||
"root": "",
|
||||
"sourceRoot": "src",
|
||||
"prefix": "app",
|
||||
"i18n": {
|
||||
"sourceLocale": "en-UK",
|
||||
"locales": {
|
||||
"fr": "src/locale/messages-fr.json"
|
||||
}
|
||||
},
|
||||
"architect": {
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:application",
|
||||
@@ -36,7 +42,7 @@
|
||||
"scripts": []
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"production-en": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
@@ -49,24 +55,64 @@
|
||||
"maximumError": "4kb"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all"
|
||||
"outputHashing": "all",
|
||||
"outputPath": "dist/codiki-ng/en/"
|
||||
},
|
||||
"production-fr": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "initial",
|
||||
"maximumWarning": "500kb",
|
||||
"maximumError": "1mb"
|
||||
},
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "2kb",
|
||||
"maximumError": "4kb"
|
||||
}
|
||||
],
|
||||
"outputHashing": "all",
|
||||
"outputPath": "dist/codiki-ng/fr/"
|
||||
},
|
||||
"development": {
|
||||
"optimization": false,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true
|
||||
},
|
||||
"en": {
|
||||
"outputPath": "dist/codiki-ng/en/",
|
||||
"optimization": false,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true
|
||||
},
|
||||
"fr": {
|
||||
"outputPath": "dist/codiki-ng/fr/",
|
||||
"optimization": false,
|
||||
"extractLicenses": false,
|
||||
"sourceMap": true,
|
||||
"localize": ["fr"],
|
||||
"i18nMissingTranslation": "warning"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "production"
|
||||
"defaultConfiguration": ""
|
||||
},
|
||||
"serve": {
|
||||
"builder": "@angular-devkit/build-angular:dev-server",
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "codiki-ng:build:production"
|
||||
"production-en": {
|
||||
"buildTarget": "codiki-ng:build:production-en"
|
||||
},
|
||||
"production-fr": {
|
||||
"buildTarget": "codiki-ng:build:production-fr"
|
||||
},
|
||||
"development": {
|
||||
"buildTarget": "codiki-ng:build:development"
|
||||
},
|
||||
"en": {
|
||||
"buildTarget": "codiki-ng:build:en"
|
||||
},
|
||||
"fr": {
|
||||
"buildTarget": "codiki-ng:build:fr"
|
||||
}
|
||||
},
|
||||
"defaultConfiguration": "development"
|
||||
|
||||
Reference in New Issue
Block a user