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

Wrong modules resolution #186

Open
Coobaha opened this issue Sep 13, 2019 · 2 comments
Open

Wrong modules resolution #186

Coobaha opened this issue Sep 13, 2019 · 2 comments

Comments

@Coobaha
Copy link
Contributor

Coobaha commented Sep 13, 2019

plugin version:
0.79

Description

If node_modules contains both packages with similar modules, latest is picked. This is very annoying for stdlib of bucklescript.

node_modules
├── bs-platform
├── bsb-native

Maybe it should be more aware of bsb that is used for compilation in such case?

As a workaround i marked bsb-native as excluded

@giraud
Copy link
Owner

giraud commented Sep 13, 2019

more info ?
If you have both bs web and bs native, how the choice can be made ?

@Coobaha
Copy link
Contributor Author

Coobaha commented Sep 13, 2019

I have both bs web and bs native. In such case at least from location of bsb file. In more general case it should be done from .merlin for example, or other compilation info

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

2 participants