-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
Extending default configuration #15
Comments
I also think it would be a good feature, this would give much more flexibility to the project. |
I would like to allow configuration extension by looking for a For plugin ordering we might need to do something like proxy plugin instantiation and annotate each plugin instance with a human-readable name so that they can be change later. |
Do you need help with that? I'll be happy to provide a PR. Maybe
Hopefuly it will 😄 |
^ hopefully. That or we provide a helper to get the name from any plugin in the plugins array based on the constructor name. Writing it in ES6 is fine, I think |
I would love to have this ability as well. I want to customize postcss plugins so I can do this: https://github.com/react-toolbox/react-toolbox#settings-configuration-variables-in-javascript |
Custom configuration support has landed in |
Hi there,
incredible work on the cli & tooling configuration. However, even the greatest config does not meet all needs and thus the question - Do you have plans on allowing users to extend default configuration?
Some use cases as a conversation starting point:
import Header from '../../../../components/Header
) - normally this would be done via babel plugin or webpack alias,AFAIK create-react-app have chosen not to allow changing configuration. However they provide eject functionality which generates all config files (docs).
The only problem with this is that once ejected there's no easy way with keeping ejected config in sync with create-react-app.
The text was updated successfully, but these errors were encountered: