PhotoSwipe icon indicating copy to clipboard operation
PhotoSwipe copied to clipboard

PhotoSwipe v5.2.7 javascript module could not be built in Skypack

Open WTVader opened this issue 2 years ago • 1 comments

PhotoSwipe v5.2.7 javascript module could not be built in Skypack with the following error: Bildschirmfoto 2022-05-23 um 23 47 44

WTVader avatar May 23 '22 21:05 WTVader

I'm not sure how to fix this. It seems SkyPack does not like the line "./photoswipe.css": "./dist/photoswipe.css", in package.json, but it's used as a shortcut to import CSS file:

import 'photoswipe/photoswipe.css';

If you know how to fix it without breaking this shortcut - please submit a PR.

dimsemenov avatar Jun 06 '22 06:06 dimsemenov