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

Unable to use mapbox-gl-controls with node/gulp. #12

Open
fabiocaccamo opened this issue Aug 16, 2020 · 6 comments
Open

Unable to use mapbox-gl-controls with node/gulp. #12

fabiocaccamo opened this issue Aug 16, 2020 · 6 comments

Comments

@fabiocaccamo
Copy link

I would like to add it to an existing front-end project built on top of node/gulp/sass but the dist/index.js throws this exception: Uncaught ReferenceError: exports is not defined.

@el
Copy link
Owner

el commented Jan 15, 2021

You are welcome to create a PR for this 👍

@el el closed this as completed Jan 15, 2021
@fabiocaccamo
Copy link
Author

Why you closed it if the problem has no been fixed?

@el
Copy link
Owner

el commented Jan 15, 2021

Because, it is not a problem, it is a request for an unsupported platform. I do not plan to add gulp support myself.

@fabiocaccamo
Copy link
Author

fabiocaccamo commented Jan 15, 2021

It is a request to export your module in the right way, nothing specific to gulp or any other tool.

@el
Copy link
Owner

el commented Jan 15, 2021

I am reopening this issue just in case someone else adds support for gulp.

@el el reopened this Jan 15, 2021
@MammaClaudia
Copy link

Hi, I hope you fixed but if I can help you, I had some problem and finally I installed it with yarn and it works!

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

3 participants