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.
Scenario: A developer installs 2 dependencies in his biotope project, both having an entrypoint file with the name
index.js
. He registers them both inprojectConfig.js
. During theserve
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 theserve
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
.