gulp-esbuild icon indicating copy to clipboard operation
gulp-esbuild copied to clipboard

Processing drops chunk path original properties

Open h-imko opened this issue 11 months ago • 2 comments

When I create a stream using gulp.src('./src/assets/scripts/**/*.js'), the base directory of chunk would be C:/proj/src/assets/sctipt, but after processing, the base is equal to C:/proj/ and the path is C:/proj/sript.js. The outbase option could be set to ./, which would make the chunk path be true - C:/proj/src/asset/script/script.js, but the relative path would still be src/assets/script/script.js and the base would still be wrong. I'm sure that if there are no conflicting options specified, such as outbase, then the original properties should be passed through.

h-imko avatar Nov 09 '24 12:11 h-imko