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
Brotli build - outputs content to same filename #1759
Comments
It's a fairly long-standing bug, will try to take a look later at fixing. FWIW, this is very niche and I've already removed this flag from the next version. If you do need to do AOT brotli compression I'd recommend looking into other solutions. |
Thanks, can close. |
Will keep this open as it's indeed an issue, just one that's existed for years with 0 complaints so I've not really been quick to fix. |
Fix released as v3.4.3 |
What is the current behaviour?
preact build --brotli
prints the following error:‼ WARN Conflict: Multiple assets emit different content to the same filename .br
Steps to Reproduce
Steps to reproduce the behavior:
preact build --brotli
ERROR
What is the expected behaviour?
Per the preact-cli documentation combined with the only walkthrough I could find on expected behavior I expected to see "... all the generated javascript files also have a .js.br files next to them."
Please mention any other relevant information
--brotli
flag builds as desired/expected..br
but with no filename.Please paste the results of
npx preact-cli info
here.The text was updated successfully, but these errors were encountered: