Actions
Bug #27195
openPlugin stylesheet bundles contain styles from core
Difficulty:
Triaged:
No
Description
When inspecting plugin stylesheet bundles in production, they contain styles from core even though plugin does not use them and does not import them.
Steps to reproduce:
1) Go to page that uses plugin stylesheets from webpack (Hosts -> New with foreman_ansible plugin, Monitor -> Tasks)
2) Inspect the source of the css bundle
In development, the styles are pulled in as well, but it is more difficult to see as developer tools will point directly to the file from core.
Files
Updated by Ondřej Pražák over 5 years ago
- Related to Refactor #27172: Do not use !important in layout stylesheets added
Updated by Avi Sharvit over 5 years ago
Same is true for `js` bundles.
A copy of the core javascript gets copied into each plugin js bundle.
A copy of the core javascript gets copied into each plugin js bundle.
- Only happen if the plugins use the `componentRegistrt`
Updated by The Foreman Bot about 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Avi Sharvit
- Pull request https://github.com/theforeman/foreman/pull/7233 added
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/7320 added
Updated by Amir Fefer over 3 years ago
- Related to Bug #33153: Slot registry isn't singleton added
Actions