-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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: Pre-bundle @storybook/router
#17294
Conversation
☁️ Nx Cloud ReportCI ran the following commands for commit 05c98fc. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch ✅ Successfully ran 1 targetSent with 💌 from NxCloud. |
NavigateOptions, | ||
Router, | ||
} from 'react-router-dom'; | ||
import * as R from 'react-router-dom'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renaming exports is just not really supported by the dts-bundle-generator
As discussed @tmeasday we could remove the usage, and use tsc
to simply create the deeply nested tree before handing it over to the dts-localizer
.
I'm a bit divided on the issue, it's not a great limitation to have, but I really like the output.
# Conflicts: # lib/router/package.json
# Conflicts: # lib/router/package.json
# Conflicts: # lib/router/package.json
# Conflicts: # lib/router/package.json
# Conflicts: # lib/router/package.json
# Conflicts: # lib/router/package.json
Issue: #16837
This uses #17000 to prebundle
lib/router