PhotoSwipe
PhotoSwipe copied to clipboard
PhotoSwipe v5.2.7 javascript module could not be built in Skypack
PhotoSwipe v5.2.7 javascript module could not be built in Skypack with the following error:
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.