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",
|
"main": "lib/index.js",
|
||||||
"types": "types/index.d.ts",
|
"types": "types/index.d.ts",
|
||||||
"browser": {
|
"browser": {
|
||||||
".": "./dist/handlebars.min.js",
|
".": "./dist/cjs/handlebars.js",
|
||||||
"./runtime": "./dist/handlebars.runtime.min.js"
|
"./runtime": "./dist/cjs/handlebars.runtime.js"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"handlebars": "bin/handlebars"
|
"handlebars": "bin/handlebars"
|
||||||
|
|||||||
Reference in New Issue
Block a user