Skip to content

Commit 176c636

Browse files
max-moserzzacharo
authored andcommitted
package: fix 'browser' entry in dist/package.json
1 parent 41ea6fb commit 176c636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"start": "react-scripts start",
1313
"build": "rimraf dist && NODE_ENV=production rollup -c --failAfterWarnings --inlineDynamicImports",
14-
"edit-linked-package": "json -I -f ./dist/package.json -e 'this.module=\"esm/index.js\", this.main=\"cjs/index.js\"' ",
14+
"edit-linked-package": "json -I -f ./dist/package.json -e 'this.module=\"esm/index.js\", this.main=\"cjs/index.js\", this.browser=\"cjs/index.js\"' ",
1515
"prelink-dist": "cp package.json ./dist && npm run edit-linked-package",
1616
"link-dist": "cd dist && npm link",
1717
"postlink-dist": "cd dist && rm -rf node_modules",

0 commit comments

Comments
 (0)