[Bug]: prod build includes unused monaco editor language bundles #1691
Labels
infrastructure
Anything non feature/* related that improves general working of the Dashboard
kind/bug
Something isn't working
priority/normal
An issue with the product; fix when possible
rhods-1.33
Is there an existing issue for this?
Deploy type
OpenDataHub core version (eg.
v1.6.0
)Version
1.8.0
Current Behavior
As per the patternfly code editor guidelines, we should specify only the languages to bundle. ODH only needs the
yaml
language.While the number of extra language chunks is large, I do not believe that this has any real impact on the rest of the app since these language chunks would only be loaded on demand.
Expected Behavior
Reduced number of prod bundles excluding unused monaco editor language bundles
Steps To Reproduce
Create a prod build and observe the output files of the build.
Run webpack bundle analyzer.
Workaround (if any)
No response
What browsers are you seeing the problem on?
No response
Anything else
No response
The text was updated successfully, but these errors were encountered: