Skip to content

Conversation

@clayallsopp
Copy link
Contributor

@clayallsopp clayallsopp commented Apr 15, 2025

  • This closes Failed to find script #374
  • I added a unit test for this behavior (now that this logic is no longer done via patch-package), but the unit test would also not have caught this behavior because exports / exports.scripts is actually defined in the NodeJS runtime (which is also why this didn't get caught by TypeScript)
  • I am looking into why the Storybooks didn't catch this / surface this
    • Ah right, the storybooks aren't setup to hit this exact case (unmounting while the script is still loading)
  • Will release this as 4.0.1

@clayallsopp clayallsopp merged commit 5103fa7 into master Apr 15, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to find script

3 participants