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 handlebars-lang#1553
  • Loading branch information
paulfalgout committed Sep 19, 2019
1 parent 35d3fdb commit 1d928d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
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 1d928d3

Please sign in to comment.