Skip to content

Commit

Permalink
Add "unpkg" field to package.json to link to minified version (#758)
Browse files Browse the repository at this point in the history
* Add "unpkg" field to package.json

* Add to tooltip.js too
  • Loading branch information
atomiks authored and FezVrasta committed Mar 11, 2019
1 parent bc269c8 commit bd1faa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/popper/package.json
Expand Up @@ -26,6 +26,7 @@
],
"main": "dist/umd/popper.js",
"module": "dist/esm/popper.js",
"unpkg": "dist/umd/popper.min.js",
"types": "index.d.ts",
"scripts": {
"prepare": "yarn build",
Expand Down
1 change: 1 addition & 0 deletions packages/tooltip/package.json
Expand Up @@ -5,6 +5,7 @@
"license": "MIT",
"main": "./dist/umd/tooltip.js",
"module": "./dist/esm/tooltip.js",
"unpkg": "./dist/umd/tooltip.min.js",
"types": "index.d.ts",
"scripts": {
"build": "node bundle.js",
Expand Down

0 comments on commit bd1faa9

Please sign in to comment.