aorv
1
Hi,
I’ve installed fancybox using bower - it appears in the dependencies in the bower.json file + all assets are in the bower_components directory.
I’ve ran gulp
but still get no outputted fancybox js in my dist/main.js file.
Am I missing a step?
Thanks for your help
ben
2
The bower.json in Fancybox is weird (read: wrong) because it’s including multiple JS files. See https://github.com/fancyapps/fancyBox/issues/932
You’ll need to override the main
property in your theme’s bower.json file to point to just one of the JS files.
Should also probably consider using a different project as that one appears to be abandoned.
1 Like
aorv
3
Thanks for your help @benword much appreciated!