Skip to content

Commit

Permalink
Make package an ES Module exclusively
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Dec 9, 2019
1 parent d503643 commit a37e38f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 137 deletions.
68 changes: 0 additions & 68 deletions dist/image-promise.common-js.js

This file was deleted.

65 changes: 0 additions & 65 deletions dist/image-promise.es-modules.js

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
"license": "MIT",
"author": "Federico Brigante <opensource@bfred.it> (bfred.it)",
"files": [
"dist/image-promise.common-js.js",
"dist/image-promise.es-modules.js",
"index.js",
"index.d.ts"
],
"module": "index.js",
"types": "./index.d.ts",
"main": "dist/image-promise.common-js.js",
"scripts": {
"build": "tsc",
"prepublishOnly": "tsc",
Expand Down Expand Up @@ -60,5 +59,6 @@
"type-fest": "^0.8.1",
"typescript": "^3.5.3",
"xo": "*"
}
},
"type": "module"
}

0 comments on commit a37e38f

Please sign in to comment.