Skip to content

Commit 1d928d3

Browse files
committed
fix: use cjs for browser fields
We should not be using pre-built files for the `browser`. Resolves handlebars-lang#1553
1 parent 35d3fdb commit 1d928d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
"main": "lib/index.js",
6565
"types": "types/index.d.ts",
6666
"browser": {
67-
".": "./dist/handlebars.min.js",
68-
"./runtime": "./dist/handlebars.runtime.min.js"
67+
".": "./dist/cjs/handlebars.js",
68+
"./runtime": "./dist/cjs/handlebars.runtime.js"
6969
},
7070
"bin": {
7171
"handlebars": "bin/handlebars"

0 commit comments

Comments
 (0)