Skip to content

Import mapbox-gl built css instead of source css #138

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

Closed
wants to merge 1 commit into from

Conversation

maxburs
Copy link

@maxburs maxburs commented Dec 8, 2022

Import mapbox-gl built css instead of source css. mapbox-gl source css is not valid css because they're using postcss.

This causes some toolchains to be unable to parse react-azure-maps. For example, here's an error my team is seeing:

image

Import mapbox-gl built css instead of source css. mapbox-gl source css is not valid css because they're using postcss.
@yulinscottkang
Copy link
Contributor

@maxburs, do you mind trying out react-azure-maps@next for this issue? We've removed the css import (PR) and you'll need to import them manually in your app, please see MIGRATION.md for more details. Thanks.

@maxburs
Copy link
Author

maxburs commented Dec 28, 2022

@yulinscottkang Removing the css import is even better! I've updated to react-azure-maps@next successfully.

One note on migrating from 0.0.6 to 1.0.0-beta.0: there doesn't appear to be a commonjs version anymore. If that change was recent, it might be worth calling it out in the MIGRATION.md file.

@maxburs maxburs closed this Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants