Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

Unable to understand the documentation #97

Open
skirankumar7 opened this issue Sep 5, 2019 · 2 comments
Open

Unable to understand the documentation #97

skirankumar7 opened this issue Sep 5, 2019 · 2 comments
Labels

Comments

@skirankumar7
Copy link

Can someone explains me with some example how this plugin is useful I am not able to understand documentation was not able to understand given one example where two bundle files we will get then after how do we can combine those bundles

what is variants???

Please 🙏...

@pago
Copy link
Contributor

pago commented Sep 5, 2019

This tool helps you to build different versions of your application at the same time. Imagine you'd want to have one bundle for modern browsers ("variant 1") and one that is compatible with IE11 ("variant 2") then by using this tool you'd be able to generate both of them at the same time.

Depending on your setup and system that can be faster. Not during development but on a CI/CD pipeline it can make a difference.

@pago pago added the question label Sep 5, 2019
@skirankumar7
Copy link
Author

skirankumar7 commented Sep 6, 2019

Thanks @pago
Better to add this kind of description to the documentation so that everyone understands it better.

One question here I have is that how do we make bundles separately for based on the browser compatibility I mean what flexibility we can achieve with this, generally in the code we write like if this browser executes this code if another browser execute another code so that one bundle can handle everything but with this what is the use
Could you explain to me with Sample example...
Thank You.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants