direflow icon indicating copy to clipboard operation
direflow copied to clipboard

Support Shadow and Not-Shadow Simultaneously

Open say25 opened this issue 4 years ago • 1 comments

Is your feature request related to a problem? Please describe.

I am building a Web Component for a project that currently supports IE11. As we likely know, IE11 doesn't support ShadowDom.

Describe the solution you'd like

Ideally, direflow could be configured with a toggle to build a direflowBundle.js as well as a direflowBundleWithoutShadow.js. Then in the caller, I can selectively embed the correct bundle based on the browser support.

Describe alternatives you've considered

Writing a shell script that changes this for me and builds both.

Additional context

say25 avatar Aug 20 '20 18:08 say25

Hi @say25 :wave:

It's an interesting suggestion. I'll keep the issue open and see if we can include a solution in an upcoming version.

SimonHoiberg avatar Aug 23 '20 13:08 SimonHoiberg