question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom configuration

See original GitHub issue

As mentioned in #2758 and in #3878, we could need a file in which we store our conf, such as the vendors, or the externals (to support cdn), or even custom babel config (ahahah)

Why not a cra field in the package.json and a .crarc / .crarc.json and a .crarc.js files that contains our custom config ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

16reactions
mudrzcommented, Apr 11, 2018

To expand with some additional feedback:

The approach taken by create-react-app was a step in the right direction at the time it was released, but now it feels stale.

It seems that the project does not have the same amount of support from Facebook as the other projects have received from their respective companies/sponsors.

Is there anything we as a community can do to get better 1st party support for this project and its future? Is it even feasible to expect create-react-app to be expanded to accommodate real-world scenarios that the React community faces?

I realize that one can eject (I do) or use 3rd party projects, but having a mature first party solution that sets some less opinionated style guidelines and project structure propagates in EVERY library and project the community creates. Which in turn creates higher quality and easier to navigate OS libraries.

Any feedback on what we can expect and what we cannot expect would be highly appreciated. And thank you for all the great work so far, this project truly made a big difference 👍.

10reactions
danielkczcommented, Feb 7, 2018

I do really like the mission of CRA, it makes the entrance to React world much easier. However, I am more inclined to allow at least some optional configuration that is most commonly requested (eg. custom webpack loaders, babel plugins…) with a big red warning that doing that means jumping into a rabbit hole.

For example, as I’ve mentioned in a linked issue, it’s really great that .graphql is now recognized, but if I prefer to use .gql I have to either eject or pollute NPM with my own fork of react-scripts for this tiny little change.

Just my two cents, I can understand it’s not as easy as it seems to allow such level of customization.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Implement a custom configuration provider - .NET
In this article, you'll learn how to implement a custom configuration provider that relies on a database as its configuration source. Custom ...
Read more >
Create custom configuration files
Create a custom configuration file. Log on to the OP5 Monitor server as root , using SSH. Create the following new /opt/monitor ...
Read more >
Completely Custom Configuration - Learn — Liferay
A configuration UI is generated automatically when you create a configuration interface. But in some cases you want a completely custom UI for...
Read more >
Creating custom configurations - Amazon Nimble Studio
Learn how to create custom configurations and attach them to launch profiles. ... Choose Add under the studio resource type called Custom configuration....
Read more >
Custom configuration - Documentation for Remedy IT Service ...
The Custom Configuration tab on the Application Administration Console provides access to all of the forms that you can use to configure BMC ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found