Skip to content

Commit

Permalink
fix: use output hashing
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Nov 12, 2024
1 parent e69bae2 commit 8fe8d96
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 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
11 changes: 4 additions & 7 deletions src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/* USED only in STANDALONE mode */
/* You can add global styles to this file, and also import other style files */

@import 'node_modules/primeng/resources/primeng.min.css';
@import 'node_modules/primeflex/primeflex.scss';
/* global styles */
@import 'node_modules/primeicons/primeicons.css';
@import 'node_modules/primeng/resources/primeng.min.css';

@import 'node_modules/@onecx/portal-layout-styles/src/styles/shell/shell.scss';
/* portal core */
@import 'node_modules/@onecx/portal-layout-styles/src/styles/shell/shell';
@import 'node_modules/@onecx/portal-layout-styles/src/styles/primeng/theme-light.scss';
@import 'node_modules/@onecx/portal-integration-angular/assets/styles.scss';

0 comments on commit 8fe8d96

Please sign in to comment.