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:
committed by
Nils Knappmeier
parent
164c7ceea4
commit
c55a7bed78
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user