Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Using Bundle with web component that has component based styles.

Nathan ZentnerJun 24 2022

I am commenting out the reference to the CSS files from within my loader.ts files. I have found that when building and bundling, they are not put into the bundle.js. Even If I am using the min directory, it always downloads the CSS files separately.

Will there ever be a point where it will be bundled within the minimized files?
In the individual CSS files, I do see the comment below, but I am not sure if this is working in the builds.

/* This file is where css selectors for the component go.
There will be hard coded properties and properties controlled by variables, for example
hrt-accomm-incident-timeoff .hrt-accomm-incident-timeoff-value-text {
color: var(--hrt-accomm-incident-timeoff-value-text-color);
display: inline-block;
}*/

Comments
Post Details
Added on Jun 24 2022
1 comment
60 views