Skip to content

Commit

Permalink
feat!: add exports field
Browse files Browse the repository at this point in the history
closes #2
  • Loading branch information
pi0 committed Apr 22, 2021
1 parent 1360a14 commit 6241d0f
Show file tree
Hide file tree
Showing 2 changed files with 752 additions and 679 deletions.
12 changes: 9 additions & 3 deletions package.json
Expand Up @@ -5,9 +5,15 @@
"repository": "nuxt-contrib/scule",
"license": "MIT",
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
}
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
Expand Down

0 comments on commit 6241d0f

Please sign in to comment.