diff --git a/CHANGELOG.md b/CHANGELOG.md index e9467cb8..7b448dee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [0.3.4](https://github.com/ismail9k/vue3-carousel/releases/tag/v0.3.3) - 2024-04-02 + +- Full support for esm (#373) @Iran-110 + ## [0.3.2](https://github.com/ismail9k/vue3-carousel/releases/tag/v0.3.3) - 2024-04-02 - Anchor links (a tags) redirect the app to the new page after dragging (#362) @Iran-110 diff --git a/package.json b/package.json index b57d3983..4f43f2ff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue3-carousel", - "version": "0.3.3", + "version": "0.3.4", "type": "module", "scripts": { "build": "rollup -c", @@ -20,6 +20,22 @@ "type": "git", "url": "https://github.com/ismail9k/vue3-carousel.git" }, + "exports": { + ".": { + "types": "./dist/carousel.d.ts", + "import": "./dist/carousel.es.js", + "require": "./dist/carousel.js" + }, + "./dist/carousel": { + "types": "./dist/carousel.d.ts", + "import": "./dist/carousel.es.js", + "require": "./dist/carousel.js" + }, + "./dist/*.css": { + "import": "./dist/*.css", + "require": "./dist/*.css" + } + }, "main": "dist/carousel.js", "module": "dist/carousel.es.js", "style": "dist/carousel.css",