Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing file containing ? fails on windows #989

Closed
kaksmet opened this issue Mar 17, 2021 · 0 comments · Fixed by #994
Closed

Importing file containing ? fails on windows #989

kaksmet opened this issue Mar 17, 2021 · 0 comments · Fixed by #994

Comments

@kaksmet
Copy link

kaksmet commented Mar 17, 2021

Running the following on windows 10:

esbuild index.css --bundle --outdir=build

with index.css looking like this:

@import "./foo.css?bar";

and foo.css being an empty file gives this error:

 > error: Cannot read directory "foo.css?bar": The filename, directory name, or volume label syntax is incorrect.

Doing the same thing under WSL2 succeeds without any errors.

esbuild 0.9.3
node 14.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant