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

Using vendor libraries that have identically named entrypoints not possible #413

Open
luke-m opened this issue Mar 2, 2020 · 0 comments
Assignees
Labels

Comments

@luke-m
Copy link

luke-m commented Mar 2, 2020

Scenario: A developer installs 2 dependencies in his biotope project, both having an entrypoint file with the name index.js. He registers them both in projectConfig.js. During the serve process, biotope tries to copy both files into .tmp/resources/js/vendor but because they have the same name, one overrides the other. Thus, one of the dependencies is not available during the serve process.
Suggestion: 1) Add a prefix and rename the files: dependency-a-index.js, dependency-b-index.js. 2) Add subfolders for the /vendor folder. vendor/dependency-a/index.js, vendor/dependency-b/index.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants