Files
minishop/angular.json
Elyes e7d6551796 Add Swisscom SDX integration and update project configuration
- Updated angular.json to include new asset paths and styles for Swisscom SDX.
- Modified package.json and package-lock.json to add @swisscom/sdx dependency.
- Enhanced app.ts to include CUSTOM_ELEMENTS_SCHEMA for custom elements.
- Updated main.ts to define custom elements from Swisscom SDX.
2025-11-20 11:13:44 +01:00

79 lines
2.1 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "npm",
"analytics": false
},
"newProjectRoot": "projects",
"projects": {
"core": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"browser": "src/main.ts",
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "node_modules/@swisscom/sdx/dist/js/webcomponents/webcomponents/assets",
"output": "assets"
}
],
"styles": ["node_modules/@swisscom/sdx/dist/css/webcomponents.css"]
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kB",
"maximumError": "1MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "4kB",
"maximumError": "8kB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "core:build:production"
},
"development": {
"buildTarget": "core:build:development"
}
},
"defaultConfiguration": "development"
},
"test": {
"builder": "@angular/build:unit-test"
}
}
}
}
}