-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix for parcel error while building examples #13656
Fix for parcel error while building examples #13656
Conversation
📦 Preview the examples and docs from this branch here: https://deploy-preview-13656--ol-site.netlify.app/. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @arekgotfryd! See my comment about changing how the css is included. Looks good otherwise.
examples/templates/example.html
Outdated
<style> | ||
@import "node_modules/ol/ol.css"; | ||
</style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make this work in codesandbox.io ("Edit" button), you'll have to change it to
<link rel="stylesheet" href="node_modules/ol/ol.css">
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ahocevar! I just made suggested change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fixes #13651