angular-flickity icon indicating copy to clipboard operation
angular-flickity copied to clipboard

Casing issue causing problems on Linux

Open ayushsinghvi92 opened this issue 8 years ago • 2 comments

The dist file, dist/angular-flickity.js does require('Flickity'); which crashes on case-sensitive OS like Linux while working fine on a Mac.

ayushsinghvi92 avatar Jun 21 '17 17:06 ayushsinghvi92

Currently I have no solution for this as I am not entirely sure why it is happening.

I do know that the underlying library (Flickity) uses the uppercase version of it's name. window.Flickity: https://unpkg.com/[email protected]/dist/flickity.pkgd.js

When I try to change my project to using lowercase via the webpack config, it seems to break everything.

I am very open to contributions / clarity on this as I would like it to work everywhere. 🙏

benjamincharity avatar Jun 22 '17 20:06 benjamincharity

Coworker and I are going to take a look today, as this is causing issues in our Docker container (which is linux). If we come up with any ideas, we will submit a PR.

wadehammes avatar Jul 12 '17 18:07 wadehammes