Skip to content

Commit

Permalink
fix: use cjs for browser fields
Browse files Browse the repository at this point in the history
We should not be using pre-built files for the `browser`.  Resolves #1553
  • Loading branch information
paulfalgout authored and nknapp committed Sep 20, 2019
1 parent 164c7ce commit c55a7be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"main": "lib/index.js",
"types": "types/index.d.ts",
"browser": {
".": "./dist/handlebars.min.js",
"./runtime": "./dist/handlebars.runtime.min.js"
".": "./dist/cjs/handlebars.js",
"./runtime": "./dist/cjs/handlebars.runtime.js"
},
"bin": {
"handlebars": "bin/handlebars"
Expand Down

0 comments on commit c55a7be

Please sign in to comment.