Add build option for different browsers
See original GitHub issueI think it would be better if you could add build option for different browsers, something like:
Development
npm run dev chrome
npm run dev firefox
npm run dev edge
npm run dev opera
Build
npm run build chrome
npm run build firefox
npm run build edge
npm run build opera
For Firefox and Edge, it doesn’t need polyfill.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Multiple builds targeting different browsers | Homeday
How about building different versions of our applications targeting different browsers so each browser downloads only the “fallbacks” it needs?
Read more >How To Build Cross-Browser Compatible Websites
With the variety of options for browsers available today it is important to create a website that is cross-browser compatible.
Read more >Building a cross-browser extension - Mozilla - MDN Web Docs
The WebExtension browser API Polyfill This polyfill addresses the API namespace and asynchronous event handling across Firefox, Chrome, Opera, ...
Read more >3 Easy Ways to Make Cross Browser Compatible Websites
Are you uncertain about how your website looks on different browsers? Learn how to perform cross browser compatibility tests.
Read more >Build Options
This option allows users to set a different browser target for CSS minification from the one used for JavaScript transpilation. It should only...
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 Free
Top 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
It’s okay. It’s interesting as an idea itself, just wondering what the advantage at the end of the day is.
Yeah, that makes sense. My idea is overengineered 😦