theKashey / react-focus-on

🎯 Solution for WAI ARIA compatible modal dialogs or full-screen tasks, you were looking for
MIT License
333 stars 14 forks source link

Can't resolve tslib #52

Closed chawes13 closed 2 years ago

chawes13 commented 3 years ago

After running npm install on a project with dependencies on multiple major versions of tslib (i.e., ^1.0.0 and ^2.0.0), I'm getting the following error:

ERROR in: ./node_modules/react-focus-on/dist/es2015/Combination.js
Module not found: Error: Can't resolve 'tslib' in '<path>/node_modules/react-focus-on/dist/es2015' 

Should tslib be declared as a dependency?

theKashey commented 2 years ago

fixed in 3.5.3