eclipse-glsp / glsp

Graphical language server platform for building web-based diagram editors
https://www.eclipse.dev/glsp
Other
200 stars 32 forks source link

Only load module CSS stylesheets if the module itself is loaded #1341

Open martin-fleck-at opened 5 months ago

martin-fleck-at commented 5 months ago

Currently we are splitting the CSS styles into dedicated files per module. However, since we import the style sheet on root level of the corresponding module it gets loaded either way and the splitting does not yield a real benefit

We should make sure that stylesheets for a particular module are only loaded if the module itself is actually loaded.