Skip to content

Commit

Permalink
fix: Angular setup: use output hashing (#431)
Browse files Browse the repository at this point in the history
* fix: use output hashing

* fix: typo in detail

* fix: update lib version

* fix: finalize

* fix: code cleanup
  • Loading branch information
HenryT-CG authored Nov 18, 2024
1 parent e69bae2 commit 9fdbf0d
Show file tree
Hide file tree
Showing 7 changed files with 354 additions and 129 deletions.
11 changes: 3 additions & 8 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"projects": {
"onecx-workspace-ui": {
"projectType": "application",
"schematics": {},
"schematics": { "@schematics/angular:component": { "style": "scss" } },
"root": "",
"sourceRoot": "src",
"prefix": "app",
Expand All @@ -29,14 +29,10 @@
"output": "/onecx-portal-lib/assets/"
}
],
"styles": [
"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/primeng.min.css",
"node_modules/@onecx/portal-integration-angular/assets/styles.scss",
"src/styles.scss"
],
"styles": ["src/styles.scss"],
"scripts": ["node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"],
"extraWebpackConfig": "webpack.config.js",
"outputHashing": "all",
"commonChunk": false
},
"configurations": {
Expand Down Expand Up @@ -67,7 +63,6 @@
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all",
"extraWebpackConfig": "webpack.prod.config.js"
}
},
Expand Down
Loading

0 comments on commit 9fdbf0d

Please sign in to comment.