Each file needs to be built only once and then is cached forever, and when you save a file Snowpack builds that single file (Complexity of O(1) ). In this way, Snowpack saves your time.
The best way to configure Snowpack is with
By default, this serves your current working directory to the browser, and it will lock for /index.html file to start.
This will generate a static folder
/build that you can deploy.
Getting Started With React and Snowpack