diff --git a/package.json b/package.json index 492fbf7..b598bb3 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,19 @@ { "name": "nuxt3-reusable-components", - "version": "1.0.9", + "version": "1.1.0", "private": false, "type": "module", - "main": "index.ts", + "main": "./dist/nuxt3-reusable-components.umd.js", "files": [ - "index.ts", - "MlArror.vue", - "MlAccordionBase.vue", - "MlButton.vue", - "nuxt.config.ts", - "tailwind.config.js", - "package.json" + "dist" ], + "module": "./dist/nuxt3-reusable-components.es.js", + "exports": { + ".": { + "import": "./dist/nuxt3-reusable-components.es.js", + "require": "./dist/nuxt3-reusable-components.umd.js" + } + }, "scripts": { "build": "nuxt build", "dev": "nuxt dev",