Describe the bug
When we have root mounted paths, the build command copy features are overwriting the correct esbuild output files, this happens because we copy the contents of the mounted directories except F# sources while we normally don't care (because we use the .fs.js extension) when we're dealing with pure js files this can force wrong outputs.
While we usually exclude some of the files with build.excluides I think this is a fairly common scenario or one that at least we should be able to support
the outDir directory is filled with the contents of src
Expected behavior
While we should copy some of the contents of the mounted directory we should avoid copying the source code files to avoid override these situations.
Desktop (please complete the following information):
Describe the bug When we have root mounted paths, the build command copy features are overwriting the correct esbuild output files, this happens because we copy the contents of the mounted directories except F# sources while we normally don't care (because we use the .fs.js extension) when we're dealing with pure js files this can force wrong outputs.
While we usually exclude some of the files with
build.excluides
I think this is a fairly common scenario or one that at least we should be able to supportTo Reproduce Steps to reproduce the behavior:
attempt to run
perla build
src
Expected behavior While we should copy some of the contents of the mounted directory we should avoid copying the source code files to avoid override these situations.
Desktop (please complete the following information):
Additional context Found at #96