From d834d0013fed6980b3ebfc3cb77845aa27b34144 Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Wed, 22 May 2024 08:57:40 +0200 Subject: [PATCH] Fix exports --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9cc2e9f..f3b2d02 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,14 @@ "dist", "src" ], - "main": "./dist/jskos-vue-tabs.umd.cjs", - "module": "./dist/jskos-vue-tabs.js", "type": "module", - "style": "./dist/style.css", + "exports": { + ".": { + "require": "./dist/jskos-vue-tabs.umd.cjs", + "import": "./dist/jskos-vue-tabs.js" + }, + "./dist/style.css": "./dist/style.css" + }, "sideEffects": false, "scripts": { "test": "mocha --recursive",