Skip to content

Commit

Permalink
Fix browser modules export. Fixes #334.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Bartoš committed Nov 30, 2020
1 parent 8ba0446 commit 8d71a2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"module": "lib/turndown.es.js",
"jsnext:main": "lib/turndown.es.js",
"browser": {
"domino": false
"domino": false,
"./lib/turndown.cjs.js": "./lib/turndown.browser.cjs.js",
"./lib/turndown.es.js": "./lib/turndown.browser.es.js",
"./lib/turndown.umd.js": "./lib/turndown.browser.umd.js"
},
"dependencies": {
"domino": "^2.1.6"
Expand Down

0 comments on commit 8d71a2d

Please sign in to comment.