Skip to content

Commit

Permalink
chore!: add explicit exports
Browse files Browse the repository at this point in the history
BREAKING CHANGE: this currently includes all published files but changes to `exports` can potentially cause import issues
  • Loading branch information
danielroe committed Mar 8, 2021
1 parent 0294b08 commit 2881914
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@
],
"repository": "nuxt-contrib/siroc",
"license": "MIT",
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.es.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"bin": {
"siroc": "bin/cli.js",
"siroc-runner": "bin/runtime.js"
Expand Down

0 comments on commit 2881914

Please sign in to comment.