Noticed a similar issue to the 7.x version with the 8.x version. Will attach a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff.txt | 1.88 KB | eric115 |
| #6 | incorrect_path_for-2857287-6.patch | 3.29 KB | eric115 |
| #2 | invalid-path-2857287-2.patch | 1.42 KB | welly |
Noticed a similar issue to the 7.x version with the 8.x version. Will attach a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff.txt | 1.88 KB | eric115 |
| #6 | incorrect_path_for-2857287-6.patch | 3.29 KB | eric115 |
| #2 | invalid-path-2857287-2.patch | 1.42 KB | welly |
Comments
Comment #2
welly commentedComment #3
fdverwoerd commentedHi,
The patch works. I was struggling with this issue too.
I'm using magnific popup library version 1.1.0 and installing with composer. (Drupal `magnific_popup` module version 1.2)
Comment #4
kyvour commentedThe patch works nice for me (drupal 8.4.x-dev)
Voting for RTBC :)
Comment #5
ergophobe commentedThanks for the patch.
Similar problem here - managing the Magnific Popup library with Composer + Bower
composer.json like this (showing just the relevant parts)
And bower.json like this
Had the same problem with the "dist" path. This patch fixes it. Works great.
Comment #6
eric115 commentedThank you for the patch, it looks good but doesn't maintain backwards compatibility.
I have added a hook_library_definitions_alter in this patch to switch back to the legacy library for existing sites.
Marking as needs review, please leave any feedback :)
Comment #8
eric115 commented