Skip to content
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

Merged
merged 17 commits into from
Feb 1, 2022
Merged

Core: Pre-bundle @storybook/router #17294

merged 17 commits into from
Feb 1, 2022

Conversation

ndelangen
Copy link
Member

@ndelangen ndelangen commented Jan 19, 2022

Issue: #16837

This uses #17000 to prebundle lib/router

@nx-cloud
Copy link

nx-cloud bot commented Jan 19, 2022

☁️ Nx Cloud Report

CI 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 target

Sent with 💌 from NxCloud.

@ndelangen ndelangen requested review from shilman and tmeasday January 19, 2022 16:25
@ndelangen ndelangen self-assigned this Jan 19, 2022
@ndelangen ndelangen added the maintenance User-facing maintenance tasks label Jan 19, 2022
NavigateOptions,
Router,
} from 'react-router-dom';
import * as R from 'react-router-dom';
Copy link
Member Author

@ndelangen ndelangen Jan 19, 2022

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.

Base automatically changed from tech/prebundle-wip to next February 1, 2022 13:06
@shilman shilman changed the title pre-bundle lib/router Core: Pre-bundle @storybook/router Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants