Skip to content

Distribute as a NPM package? #1

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

Open
gugadev opened this issue Jul 6, 2021 · 0 comments
Open

Distribute as a NPM package? #1

gugadev opened this issue Jul 6, 2021 · 0 comments

Comments

@gugadev
Copy link

gugadev commented Jul 6, 2021

Hi, do you have plans to publish it as a NPM package like azure-map-controls?

Maybe something line:

import * as Atlas from "azure-maps-control"
import * as GeolocationControlModule from "azure-maps-geolocation-control"

Atlas.use(GeolocationControlModule)

I think it's a better approach than putting it at HTML, you can benefit with code splitting using dynamic imports too.

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

No branches or pull requests

1 participant