mirror of https://github.com/sveltejs/svelte
chore: add invariant utility (#17929)
With this, we can add invariants to the codebase so we can identify problems like 'this batch already has roots scheduled', which indicate a bug somewhere, without a) needing tests for scenarios that are inherently hard to anticipate, or b) cluttering people's prod bundlespull/17931/head
parent
043a7a26cd
commit
a513da0445
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
chore: add `invariant` helper for debugging
|
||||
Loading…
Reference in new issue