You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wouldn't mind raising a PR but I was unable to find the point of generation for packages. I'm assuming it's the sandpack package code but I'm not sure
The text was updated successfully, but these errors were encountered:
We added support for this yesterday, but rolled it back due to issues, #6065 will look into this again next week at the earliest as we really want to ensure everything works perfectly
We added support for this yesterday, but rolled it back due to issues, #6065 will look into this again next week at the earliest as we really want to ensure everything works perfectly
🌈 Feature
Ability to handle subpath patterns
What is this feature?
A few libraries with a lot of exports would prefer to use the above pattern while creating exports and this current breaks in CSB example sandbox https://codesandbox.io/s/kind-payne-i2eb3?file=/src/App.tsx for https://github.com/pmndrs/jotai
The feature or maybe even a bug would be to add resolution handlers for the
exports
field to have glob patterns and absolute file paths.How the feature should work?
You have examples or an idea how it can be implemented?
You can follow the node docs https://nodejs.org/api/packages.html#packages_subpath_patterns , as this was added to both v12 and v14 and already supported by v16
I wouldn't mind raising a PR but I was unable to find the point of generation for packages. I'm assuming it's the
sandpack
package code but I'm not sureThe text was updated successfully, but these errors were encountered: