-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Labels
enhancementNew feature or requestNew feature or request
Description
🐛 Bug Report
Starting with version 3.5.1, the contents of @react-aria/textfield/dist/module.js seems to have become garbled. The file at version 3.5.0 looks good and can be correctly loaded as an ESM module.
🤔 Expected Behavior
The file to be loaded correctly, for example, by jest.
😯 Current Behavior
The module is not understood by node:
SyntaxError: The requested module '@react-aria/textfield' does not provide an export named 'useTextField'
💁 Possible Solution
🔦 Context
Trying to run unit tests against a component that depends on @react-aria/textfield.
💻 Code Sample
🌍 Your Environment
| Software | Version(s) |
|---|---|
| react-spectrum | 3.5.2 |
| Browser | Firefox |
| Operating System | macOS |
🧢 Your Company/Team
🕷 Tracking Issue (optional)
duarten, donna-marijne, mquandalle, bartels, vstreame and 1 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
✅ Done