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

Can not build with vite #15

Closed
iamcco opened this issue Jun 28, 2022 · 6 comments
Closed

Can not build with vite #15

iamcco opened this issue Jun 28, 2022 · 6 comments

Comments

@iamcco
Copy link

iamcco commented Jun 28, 2022

I'm trying to use this library to convert image to webp. But can't build with vite.

It works with dev mode, but the build step stop as below only has incremental number, and end with heap out of memory.

image

image

this is the test repo https://github.com/iamcco/test-jSquash

@iamcco
Copy link
Author

iamcco commented Jun 28, 2022

image

@iamcco
Copy link
Author

iamcco commented Jun 28, 2022

Seems only happen with vite >= 2.8.0

@iamcco
Copy link
Author

iamcco commented Jun 29, 2022

Should be relative to vitejs/vite#7015

@iamcco iamcco closed this as completed Jun 29, 2022
@blobinabottle
Copy link

@iamcco were you able to build it somehow?

@iamcco
Copy link
Author

iamcco commented Nov 16, 2022

@iamcco were you able to build it somehow?

I end up delete the pkg-parallel of oxipng and edit the code of avif

PS. relative code main...iamcco:jSquash:master

@tans
Copy link

tans commented Feb 22, 2024

I solved this issue using the solution provided at vitejs/vite#7015 (comment)

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

No branches or pull requests

3 participants