-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core: Restore /preview
etc package exports; return unresolved path from presets.
#19045
Merged
shilman
merged 9 commits into
next
from
tom/sb-697-investigate-chromatic-issues-on-next
Aug 31, 2022
Merged
Core: Restore /preview
etc package exports; return unresolved path from presets.
#19045
shilman
merged 9 commits into
next
from
tom/sb-697-investigate-chromatic-issues-on-next
Aug 31, 2022
Commits on Aug 29, 2022
-
Allow `preview.js` etc to be the name of the package exports
Configuration menu - View commit details
-
Copy full SHA for 57d082c - Browse repository at this point
Copy the full SHA 57d082cView commit details
Commits on Aug 30, 2022
-
Don't return resolved path from browser preset entries
Instead, just return the import path unresolved
Configuration menu - View commit details
-
Copy full SHA for 57d5b1a - Browse repository at this point
Copy the full SHA 57d5b1aView commit details -
Revert changes to
exports
fields of addons/renderersAll of Node, Webpack and Vite can `import('<pkg>/preview')` etc, as long as the `exports` map is there and setup like so. If the `exports` map is not there, then they can import `node_modules/<pkg>/preview.js` instead. The issue occurred when an export map existed but Vite tried to import a path that wasn't defined in there.
Configuration menu - View commit details
-
Copy full SHA for 7eae837 - Browse repository at this point
Copy the full SHA 7eae837View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3f0e26 - Browse repository at this point
Copy the full SHA e3f0e26View commit details -
Configuration menu - View commit details
-
Copy full SHA for c29a912 - Browse repository at this point
Copy the full SHA c29a912View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb294e9 - Browse repository at this point
Copy the full SHA bb294e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aadc0f - Browse repository at this point
Copy the full SHA 5aadc0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d689a8 - Browse repository at this point
Copy the full SHA 9d689a8View commit details -
Merge remote-tracking branch 'origin/next' into tom/sb-697-investigat…
…e-chromatic-issues-on-next
Configuration menu - View commit details
-
Copy full SHA for 2e50d63 - Browse repository at this point
Copy the full SHA 2e50d63View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.