forked from react-hook-form/react-hook-form
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UMD build target (react-hook-form#1157)
* add UMD build target * Specify unpkg field in package.json * Name UMD global as UpperCamelCase Co-Authored-By: Kotaro Sugawara <[email protected]> Co-authored-by: Kotaro Sugawara <[email protected]>
- Loading branch information
1 parent
5598daa
commit a5c13ce
Showing
2 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ | |
"homepage": "https://www.react-hook-form.com", | ||
"author": "<[email protected]>", | ||
"license": "MIT", | ||
"unpkg": "dist/react-hook-form.umd.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.8.6", | ||
"@babel/plugin-transform-runtime": "^7.8.3", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters