Skip to content

Commit

Permalink
fix: use top level entry
Browse files Browse the repository at this point in the history
  • Loading branch information
varugasu authored Sep 5, 2023
2 parents d3a73a2 + db6783f commit eeca292
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules
dist/
dist
1 change: 1 addition & 0 deletions packages/vue-shining-text/index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist'
8 changes: 3 additions & 5 deletions packages/vue-shining-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit eeca292

Please sign in to comment.