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

"next-image-export-optimizer" doesn't exit automatically when using Bun #240

Open
arvilmena opened this issue Nov 12, 2024 · 0 comments · May be fixed by #241
Open

"next-image-export-optimizer" doesn't exit automatically when using Bun #240

arvilmena opened this issue Nov 12, 2024 · 0 comments · May be fixed by #241

Comments

@arvilmena
Copy link

First of all, great work @Niels-IO
I am not sure why NextJS doesn't do this by default for static export.
Isn't the point of building your whole site locally to be able to optimise all the assets including images?

As for my bug report. I am using bun on my NextJS project.
This library works well until at the very last part when it doesn't exit automatically after running the post-build script: "next-image-export-optimizer"

image

I wish to include the static export on my CI build process, but since this is not exiting automatically, the CI simply times out even though it has successfully export the assets.

I have created repro using this fork, under the feat/bun branch:

https://github.com/arvilmena/fork--next-image-export-optimizer/tree/feat/bun

I hope you can take a look on this.

Thanks!

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