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 Avi Sharvit almost 6 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`
Actions