Add ability to extend file config
See original GitHub issueI have project setup with Lerna and Yarn Workspaces:
packages
packages/a/package.json
packages/a/.browserslistrc
packages/a/...
packages/b/package.json
packages/b/.browserslistrc
packages/b/...
package.json
.browserslistrc
In the root .browserslistrc
file I have browsers list and in each package .browserslistrc
file I would like to do
extends ../../.browserslistrc
but I can’t. I can only extend from package like here:
extends @org/browserslist-config-mycompany
However, I don’t want to create separate package to only define list of browsers
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Add ability to extend from other settings files #15909 - GitHub
Inspired by TSLint's ability to extend configuration files, it would be nice if .vscode/settings.json could behave the same way.
Read more >Extending Configuration Support - Quarkus
With a Custom ConfigSource it is possible to read additional configuration values and add them to the Config instance in a defined ordinal....
Read more >Extend an element in App.config - Stack Overflow
I would rather use the configuration in the app.config file to provide default values and implement some user configuration myself. Is such case,...
Read more >Configuration Files - ESLint - Pluggable JavaScript Linter
A configuration file, once extended, can inherit all the traits of another configuration file (including rules, plugins, and language options) and modify all ......
Read more >Extend a Linux file system after resizing a volume
After you increase the size of an EBS volume, you must use file system–specific commands to extend the file system to the new,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I opened an issue here to add json js and ts support for config files. That would solve the extension problem automatically as described in this article.
Hmm security concerns? Isn’t it just something similar to other tools that allow extending config files?
Yep the one in
packages/a
extends the one in the root