biotope-build icon indicating copy to clipboard operation
biotope-build copied to clipboard

Using vendor libraries that have identically named entrypoints not possible

Open luke-m opened this issue 4 years ago • 0 comments

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.

luke-m avatar Mar 02 '20 09:03 luke-m