LinusBorg / vue-simple-portal

A simpler Portal implementation focussed on moving slot content to the end of the body element
Other
223 stars 28 forks source link

Update nanoid to 3.x (latest) #54

Closed cjblomqvist closed 3 years ago

cjblomqvist commented 3 years ago

Except for all the nice enhancements in 3.x over 2.x, in my specific use case I've encountered the following issue: Using webpack 5, I'm bundling a Vue 2.x app that uses vue-simple-portal. If my understanding is correct, since vue-simple-portal uses esm, then it break when trying to import a cjs module (for unknown reason webpack 5 can't detect it as such). I'll do a PR as well.