Skip to content

Commit

Permalink
fix: fix svelte main field #886
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Apr 12, 2023
1 parent defc1a1 commit e5a5f25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions packages/svelte-moveable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"version": "0.37.0",
"description": "A Svelte Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.",
"svelte": "./src/index.js",
"main": "./dist/moveable.cjs.js",
"module": "./dist/moveable.esm.js",
"types": "src/index.d.ts",
"sideEffects": false,
"keywords": [
Expand Down
3 changes: 1 addition & 2 deletions packages/svelte-moveable/src/Moveable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
EVENTS,
} from "moveable";
import { camelize, isUndefined } from "@daybrush/utils";
import {
onMount,
onDestroy,
Expand Down Expand Up @@ -40,7 +39,7 @@
onMount(() => {
moveable = new VanillaMoveable(moveableElement, {
...options,
portalContainer: moveableElement,
warpSelf: true,
});
EVENTS.forEach(name => {
Expand Down

0 comments on commit e5a5f25

Please sign in to comment.