Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundle CSS in order to support more bundlers #1320

Open
silvester-pari opened this issue Oct 17, 2024 · 0 comments
Open

Bundle CSS in order to support more bundlers #1320

silvester-pari opened this issue Oct 17, 2024 · 0 comments
Labels
enhancement New feature or request refactor

Comments

@silvester-pari
Copy link
Collaborator

Currently, CSS from pacakges such as ol are imported with the ?inline mode - see e.g.

import olCss from "ol/ol.css?inline";

This works for Vite and bundlers that support this feature, but other bundlers won't be able to use this, and still need to use the bundled version of the elements.
Seeing that we have a similar issue somewhat solved in https://github.com/EOX-A/EOxElements/blob/333e324def0354992fadd4640fc2ee9b72a545b4/tasks/init-style.js we caan probably find an unified solution for handling all CSS in the repo.

@silvester-pari silvester-pari added enhancement New feature or request refactor labels Oct 17, 2024
@silvester-pari silvester-pari changed the title Bundle all css in order to support multiple bundlers Bundle CSS in order to support more bundlers Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor
Projects
None yet
Development

No branches or pull requests

1 participant