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

entryNames [dir] placeholder not replaced #1013

Closed
joelmoss opened this issue Mar 19, 2021 · 3 comments
Closed

entryNames [dir] placeholder not replaced #1013

joelmoss opened this issue Mar 19, 2021 · 3 comments

Comments

@joelmoss
Copy link

Just playing with the new entrynames option:

{ entryNames: '[dir]/[name]-[hash]' }

And when built, I end up with 'public/froxy/build/[dir]/development-47KRCRWQ.js', which as you can see is literally using [dir], instead of replacing it with the directory.

@evanw
Copy link
Owner

evanw commented Mar 19, 2021

Whoops. This happened because I was extracting this feature from a larger rewrite. Looks like I somehow ported everything except the parser. Will fix.

@evanw evanw closed this as completed in 514a7b0 Mar 19, 2021
@evanw
Copy link
Owner

evanw commented Mar 19, 2021

A fix for this has been published in esbuild version 0.9.5.

@joelmoss
Copy link
Author

thx for the quick turn around 👌

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.

2 participants