Open emateu opened 5 years ago
Combining flickity with multiples plugins, like flickity-fullscreen and flickity-as-nav-for.
flickity
flickity-fullscreen
flickity-as-nav-for
Since we have flickity as a dependency, will extend flickity from it's own node_modules instead of extending the one of the project's node_modules.
node_modules
This makes impossible to combine two plugins.
Define on the plugin, flickity as a peerDependency.
peerDependency
--
If you merge this, we should do the same on https://github.com/metafizzy/flickity-as-nav-for
Scenario
Combining
flickity
with multiples plugins, likeflickity-fullscreen
andflickity-as-nav-for
.Issue
Since we have
flickity
as a dependency, will extend flickity from it's ownnode_modules
instead of extending the one of the project'snode_modules
.This makes impossible to combine two plugins.
Solution
Define on the plugin,
flickity
as apeerDependency
.--
If you merge this, we should do the same on https://github.com/metafizzy/flickity-as-nav-for