Skip to content

Commit

Permalink
Merge pull request #335 from orchitech/fix-browser-modules-export
Browse files Browse the repository at this point in the history
Fix browser modules export. Fixes #334.
  • Loading branch information
martincizek authored Dec 2, 2020
2 parents dcf2cf6 + 8d71a2d commit d741a1d
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 d741a1d

Please sign in to comment.