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.

Add build option for different browsers

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
spekulatiuscommented, May 28, 2020

It’s okay. It’s interesting as an idea itself, just wondering what the advantage at the end of the day is.

1reaction
quanengineeringcommented, May 28, 2020

Yeah, that makes sense. My idea is overengineered 😦

Read more comments on GitHub >

github_iconTop 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 >

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