From 73198fbaa5c90aedc6755bc4419b554c06cf2860 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 23 Jan 2024 18:10:29 -0800 Subject: [PATCH] fix: correct Svelte packaging --- packages/svelte-view360/package.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/svelte-view360/package.json b/packages/svelte-view360/package.json index 9f827e73..187cfec2 100644 --- a/packages/svelte-view360/package.json +++ b/packages/svelte-view360/package.json @@ -2,22 +2,20 @@ "name": "@egjs/svelte-view360", "version": "4.0.0-beta.7", "description": "360 integrated viewing solution from inside-out view to outside-in view. It provides user-friendly service by rotating 360 degrees through various user interaction such as motion sensor and touch.", - "main": "dist/view360.cjs.js", - "module": "dist/view360.esm.js", - "es2015": "dist/view360.esm.js", "types": "declaration/index.d.ts", - "svelte": "lib/index.js", + "exports": { + "types": "./declaration/index.d.ts", + "default": "./lib/index.js" + }, "sideEffects": [ "**/*.css", "**/*.sass" ], "files": [ "./declaration/**/*", - "./dist/**/*", "./lib/**/*", "./sass/**/*", "./css/**/*", - "./src/**/*", "./README.md", "./LICENSE" ],