Skip to content

Commit

Permalink
Switch to Conditional Exports
Browse files Browse the repository at this point in the history
  • Loading branch information
aidant committed Apr 13, 2021
1 parent 4e5cd95 commit 43677c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -4,7 +4,10 @@
"author": "Pomax",
"description": "A javascript library for working with Bezier curves",
"type": "module",
"exports": "./src/bezier.js",
"exports": {
"import": "./src/bezier.js",
"require": "./dist/bezier.cjs"
},
"main": "./dist/bezier.cjs",
"license": "MIT",
"bugs": {
Expand Down

0 comments on commit 43677c0

Please sign in to comment.