shepherd icon indicating copy to clipboard operation
shepherd copied to clipboard

Provide a build without popper.js

Open Kilbourne opened this issue 2 years ago • 2 comments

Hi! We are using Popper.js for other things beyond Shepherd. In our case the bundle of Shepherd could be reduce: would be great to have a build of Shepherd, which expects a createPopper function on window object Sth like:

-import { createPopper } from '@popperjs/core';
+const createPopper = { window }

Kilbourne avatar Mar 25 '22 17:03 Kilbourne

@Kilbourne we could look at making it a peerDependency instead perhaps. I think we used to do that, but found that bundling it was easier.

RobbieTheWagner avatar Mar 27 '22 18:03 RobbieTheWagner

@rwwagner90 do you know when an unbundled version will be available?

Kilbourne avatar Mar 29 '22 11:03 Kilbourne

We use FloatingUI now, so this question is no longer valid.

RobbieTheWagner avatar Mar 01 '23 13:03 RobbieTheWagner