fix: use cjs for browser fields

We should not be using pre-built files for the `browser`.  Resolves https://github.com/wycats/handlebars.js/issues/1553
This commit is contained in:
Paul Falgout
2019-09-19 16:19:09 +09:00
committed by Nils Knappmeier
parent 164c7ceea4
commit c55a7bed78
+2 -2
View File
@@ -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"