zerodevx / svelte-img

High-performance responsive/progressive images for SvelteKit
https://zerodevx.github.io/svelte-img/
ISC License
300 stars 11 forks source link

Update export default in lib #19

Closed SaintPepsi closed 1 year ago

SaintPepsi commented 1 year ago

I was having trouble with IntelliSense not picking up the import in VSCode on my Mac.

Changing the export structure to this allowed my IntelliSense to pick up on the module and auto-import.

export default Img
export { FxReveal, FxParallax }
zerodevx commented 1 year ago

Can you remove package-lock.json?

zerodevx commented 1 year ago

No, you need to remove package-lock.json from being tracked. If I merge this in, this deletes that file altogether.

SaintPepsi commented 1 year ago

No, you need to remove package-lock.json from being tracked. If I merge this in, this deletes that file altogether.

I'm trying to do it on my phone which is not very successful 👀 will fix when on the computer