Skip to content

Conversation

@kyletsang
Copy link
Member

Fixes #6830

The import wasn't removed due to how we declared additionalLibraries for babel-plugin-transform-react-remove-prop-types. It was looking for an exact import path.

https://github.com/react-bootstrap/configs/blob/99ab44dd872eee57d495f188dadee98608a03d23/packages/babel-preset/index.js#L48

@kyletsang kyletsang merged commit ab81d6b into master Nov 15, 2024
@kyletsang kyletsang deleted the fix-proptypes-all branch November 15, 2024 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

failed to build with Vite 5 + Rollup + StoryBook 8 cause as the reason of prop-types-extra importing

2 participants