[Feature Request:] add support for config file name => browserslist.config.js
See original GitHub issueHi,
Configuration name *.config.js
seems to be the most default/common value for most of majors libraries:
- webpack.config.js
- babel.config.js
- stylelint.config.js
- postcss.config.js
- prettier.config.js
- vue.config.js
- nuxt.config.js
- tailwind.config.js
- jest.config.js
I see only too libraries that doesn’t support this format:
- Browserlist
- Eslint (Eslint issues 11844)
It could be nice for Browserlist to offer this option.
Following this convention will definitively help users. Having a consistent way to configure libraries would be easier and cleaner.
Just my two cents to make our life a little easier 😄 !
Cheers!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:11
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Angular 12 warns about requested IE 11 support. Why?
It's because of the missing browserslist config in your project. If the Angular CLI compiler doesn't find a .browserslistrc file or a ...
Read more >Manual Page - GoAccess
NAME. goaccess - Fast web log analyzer and interactive viewer. ... Features include: ... Additional static files can be added to the configuration...
Read more >Configuration | Stylelint
stylelintrc file (without extension) can be in JSON or YAML format. You can add a filename extension to help your text editor provide...
Read more >Speed up with Browserslist - DEV Community
By default, if there is no config in the project, Browserslist will use default browsers. This query is an alias for > 0.5%,...
Read more >CSS - Parcel
You can use PostCSS with Parcel by creating a configuration file using one of these names: .postcssrc , .postcssrc.json , .postcssrc.js , or...
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
@amilajack you can try to use sharable configs to have dynamic JS code
Anyway @ai, if it doesn’t make sens for Browserlist team we can just close this. I don’t want to argue for ages, but thanks for this good talk!