Skip to content

Commit

Permalink
chore: expose package.json in exports map (#1389)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed authored Oct 27, 2020
1 parent 805c492 commit d5a79ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions snowpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@
"types": "lib/index.d.ts",
"main": "lib/index.js",
"exports": {
"import": "./index.esm.mjs",
"require": "./lib/index.js"
".": {
"import": "./index.esm.mjs",
"require": "./lib/index.js"
},
"./package.json": "./package.json"
},
"bin": {
"sp": "index.bin.js",
Expand Down

0 comments on commit d5a79ba

Please sign in to comment.