tarb / svelte-dnd-list

Simple and lightweight Svelte Drag and Drop library
MIT License
47 stars 4 forks source link

$app/env has been renamed to $app/environment #2

Closed rhyder closed 1 year ago

rhyder commented 1 year ago

Hey thanks for the work on this lib!

I have updated my app to the latest version of svelte and it seems an import was updated to a new alias so this has become incompatbile..

The HorizontalCenterDropZone.ts file uses the old import.

error during build: RollupError: "browser" is not exported by "node_modules/@sveltejs/kit/src/runtime/app/env.js", imported by "node_modules/svelte-dnd-list/HorizontalCenterDropZone.js".

https://svelte.dev/blog/whats-new-in-svelte-september-2022

tarb commented 1 year ago

Thanks! closed in #3