-
Notifications
You must be signed in to change notification settings - Fork 598
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add extends
config loading support
#977
Labels
馃憢馃徎 Good First Issue
An issue or task that is ideal for new open source contributors.
Type: Feature Request
Comments
huntie
added
Type: Feature Request
馃憢馃徎 Good First Issue
An issue or task that is ideal for new open source contributors.
labels
May 10, 2023
Hey @huntie, I would love to work on this feature. I am new to this repo, but I think I can do this. |
Hi @CaioFernandoDev! Awesome, please reach out if you have any questions 鈥斅爀ither here, or feel free to DM me on Twitter. |
As far as the prev assignment has been removed, I'll try to continue, if no one minds. @huntie, could you assist with this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
馃憢馃徎 Good First Issue
An issue or task that is ideal for new open source contributors.
Type: Feature Request
馃憢馃徎 Good First Issue
Description
We'd like Metro's configuration to accept an
extends
key, similar to other tools such as ESLint and TypeScript.This would benefit Metro users in enabling a more convenient and concise API that abstracts away the need for
mergeConfig()
today.Related context:
Rough design
The implementation for this feature should live in the
metro-config
package.MetroConfig
type constituents to addextends?: $ReadOnlyArray<string>
.loadMetroConfigFromDisk
to readextends
if present.extends
, attempt torequire
the config path relative to thefilepath
of the input config file, and apply the imported object in order viamergeConfig()
.packages/metro/src/integration_tests/
.The text was updated successfully, but these errors were encountered: