babel-react-optimize icon indicating copy to clipboard operation
babel-react-optimize copied to clipboard

Add babel-plugin-transform-react-router-optimize

Open ZauberNerd opened this issue 8 years ago • 1 comments

This transform will help to reduce file size in projects which use the react-router.

The react-router guides mention how to import only neccessary parts of the library to keep the bundle size small: https://github.com/reactjs/react-router/blob/master/docs/guides/MinimizingBundleSize.md

This babel plugin will do the transformation automatically.

ZauberNerd avatar Jun 12 '16 13:06 ZauberNerd

@thejameskyle Is this repo still maintained?

NeXTs avatar Nov 12 '16 12:11 NeXTs