Skip to content

Commit

Permalink
feat: add support for main, browser, and module entry points
Browse files Browse the repository at this point in the history
Fixes: #60
Fixes: #71
  • Loading branch information
Soc Sieng authored and socsieng committed Feb 6, 2021
1 parent 5eb243b commit 8d72f50
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/button-element/package-template.json
Expand Up @@ -2,7 +2,9 @@
"name": "@google-pay/button-element",
"version": "0.0.0",
"description": "Web component for Google Pay button",
"main": "dist/index.js",
"main": "dist/index.es5.min.js",
"browser": "dist/index.umd.min.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
Expand Down
4 changes: 3 additions & 1 deletion src/button-react/package-template.json
Expand Up @@ -2,7 +2,9 @@
"name": "@google-pay/button-react",
"version": "0.0.0",
"description": "React component for Google Pay button",
"main": "dist/index.js",
"main": "dist/index.es5.min.js",
"browser": "dist/index.umd.min.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
Expand Down

0 comments on commit 8d72f50

Please sign in to comment.