You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see, for input file coms\toplevel.jsx, esbuild kept the parent folder coms in output.
But, if we input command to just compile a single file, like this
d:\tmp\sample>esbuild coms\toplevel.jsx --outdir=./_build
_build\toplevel.js 102b
⚡ Done in 3ms
You can see, esbuild removed the parent folder coms in output.
I think esbuild should keep folder stucture when just compile a single file.
The text was updated successfully, but these errors were encountered:
jcyrss
changed the title
esbuild removes the folder structure when input is a single file with its path having folders.
esbuild removes the folder structure when input is a single file with its path having uplevel folders.
Jan 30, 2025
Unzip this file,
sample.zip
If we input command to compile multiple files, like this
You can see, for input file
coms\toplevel.jsx
, esbuild kept the parent foldercoms
in output.But, if we input command to just compile a single file, like this
You can see, esbuild removed the parent folder
coms
in output.I think esbuild should keep folder stucture when just compile a single file.
The text was updated successfully, but these errors were encountered: