Skip to content

Commit

Permalink
feat: add "exports" map
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Jan 28, 2021
1 parent 37aaf30 commit fa7ab74
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@
"name": "dset",
"version": "2.1.0",
"repository": "lukeed/dset",
"unpkg": "dist/dset.min.js",
"umd:main": "dist/dset.min.js",
"module": "dist/dset.es.js",
"main": "dist/dset.js",
"description": "A tiny (196B) utility for safely writing deep Object values~!",
"unpkg": "dist/index.min.js",
"umd:main": "dist/index.min.js",
"module": "dist/index.mjs",
"main": "dist/index.js",
"types": "index.d.ts",
"license": "MIT",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"author": {
"name": "Luke Edwards",
"email": "[email protected]",
Expand Down

0 comments on commit fa7ab74

Please sign in to comment.