Skip to content

Centralize babelrc config & use loose mode#2843

Closed
Andarist wants to merge 1 commit intoJedWatson:masterfrom
Andarist:loose-mode
Closed

Centralize babelrc config & use loose mode#2843
Andarist wants to merge 1 commit intoJedWatson:masterfrom
Andarist:loose-mode

Conversation

@Andarist
Copy link

  1. do not duplicate babel config in rollup.config.js, should be easier to keep this in sync now

  2. loose mode - mainly bundle size optiomation. Measuring with npx terser -cm --toplevel dist/react-select.esm.js | gzip -c | wc -c from 19047 bytes to 18545 bytes. Should u chose loose mode? Thread - https://twitter.com/brian_d_vaughn/status/1021183132135931905

@emmatown
Copy link
Collaborator

emmatown commented Oct 3, 2019

Thanks for this!! As mentioned in the other PR, react-select switched to preconstruct a while ago so this mostly isn't relevant anymore. I just opened a new PR, #3797, to enable loose mode because the Babel config has moved to babel.config.js

@emmatown emmatown closed this Oct 3, 2019
@Andarist Andarist deleted the loose-mode branch October 3, 2019 08:45
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.

3 participants