Replies: 1 comment 2 replies
-
We remove esbuild for sim because of performance reasons, but since then I believe we moved away from using wasm esbuild which was slow. Maybe we can come back to using esbuild for sim again? If we can use esbuild, we might be able to get the list of dependencies path (evanw/esbuild#673). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We need a way to identify when the generated code for an inflight closure (and all of its deps) have changed in order to minimize updates when loading new code into the simulator.
For cloud targets, we use the
esbuild
bundle hash during pre-synth (after captures are resolved), but since we are not doing preflight bundling when compiling to the simulator, we don't have this information.A deterministic hash of the inflight closure can go a long way to simplify downstream caching, etc.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions