Open alew3 opened 1 year ago
Hi @alew3! Thanks for reaching out.
Regarding installing node modules, make sure to generate and save the lock file (package-lock.json
, yarn.lock
, or pnpm-lock.yaml
). That should drastically improve installation times.
Anyways, I created a ticket for this to track internally.
A Webcontainer takes a long time to startup as it needs to configure the environment, download and install npm files.
Ideally we should be able to create a snapshot of the webcontainer similiar to a Dockerfile. So startup time is instant.