diff --git a/.gitignore b/.gitignore index 44d646d..f06235c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ node_modules -dist/ +dist diff --git a/packages/vue-shining-text/index.mjs b/packages/vue-shining-text/index.mjs new file mode 100644 index 0000000..5d960dd --- /dev/null +++ b/packages/vue-shining-text/index.mjs @@ -0,0 +1 @@ +export * from './dist' diff --git a/packages/vue-shining-text/package.json b/packages/vue-shining-text/package.json index 3c9cdf9..b6f4a4c 100644 --- a/packages/vue-shining-text/package.json +++ b/packages/vue-shining-text/package.json @@ -5,14 +5,12 @@ "type": "module", "exports": { ".": { - "import": "./dist/index.mjs", - "require": "./dist/index.js" + "import": "./index.mjs" } }, - "main": "./dist/index.js", - "types": "./dist/index.d.ts", "files": [ - "dist" + "dist", + "index.mjs" ], "scripts": { "build": "unbuild"