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

Set the compiled file in dist as the main file #976

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

trygveaa
Copy link

This lets people just import @mapbox/mapbox-gl-draw instead of having to
import @mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.js. It's standard
practise to set the compiled file in main, and most other packages
including mapbox-gl does so.

This lets people just import @mapbox/mapbox-gl-draw instead of having to
import @mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.js. It's standard
practise to set the compiled file in main, and most other packages
including mapbox-gl does so.
@stevage
Copy link
Contributor

stevage commented Aug 20, 2021

It looks like the change proposed by this PR was made by #1032, so this can be closed now.

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.

3 participants