-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
How to use it with webpack? #56
Comments
I passed |
@JHartman5 Thanks for your help. |
@JHartman5 |
No, it worked in the normal time for me. |
Hm, maybe you coincidentally already had things set up in a way that it wasn't a problem? Personally, I had to use this (for future reference in case someone else stumbles across this):
... so that bundling worked. (Without it, webpack's node process would quickly balloon into using gigs of RAM) And in my dev environment config this...
... to prevent the file from ballooning up to ~35 MB. |
@s-h-a-d-o-w You are amazing thanks |
This is my configuration of webpack. And this error occurs when build.
|
It's important to exclude it from the minification if you have that otherwise your build time will skyrocket |
I'm building a web app that need to encode the video from the webcam. My issue is that webpack cannot build it when I
import ffmpeg from 'ffmpeg/ffmpeg-worker-mp4.js'
. And eventually, it will run out of memory. Is there any guide that I can run it in react with webpack?The text was updated successfully, but these errors were encountered: