Skip to content

Commit

Permalink
fix(package): add "exports" field
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbonnet committed Apr 5, 2021
1 parent 4f3de68 commit e82e873
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"main": "./dist/astring.js",
"module": "./src/astring.js",
"types": "./astring.d.ts",
"exports": {
"import": "./src/astring.js",
"require": "./dist/astring.js",
"browser": "./dist/astring.min.js"
},
"bin": {
"astring": "bin/astring"
},
Expand Down

0 comments on commit e82e873

Please sign in to comment.