-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repair documentation generator and broaden bundle compatibility (#833)
* Properly generate jsdocs
- Loading branch information
Showing
3 changed files
with
29 additions
and
11 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 |
---|---|---|
@@ -1,14 +1,30 @@ | ||
{ | ||
"comments": true, | ||
"comments": false, | ||
"presets": [ | ||
"@babel/preset-env", | ||
"@babel/typescript" | ||
], | ||
"targets": { | ||
"node": 14, | ||
"browsers": [ "> 2%" ] | ||
}, | ||
"env": { | ||
"development": { | ||
"plugins": [ | ||
"istanbul" | ||
] | ||
"comments": true, // for debugging | ||
"plugins": [ "istanbul" ] // for code coverage | ||
}, | ||
"docs": { | ||
"comments": true // for jsdocs | ||
}, | ||
"production": { | ||
// stricter target for final browser bundle | ||
"targets": { | ||
"browsers": [ | ||
"> 2%", | ||
"ie 11", | ||
"not op_mini all" | ||
] | ||
} | ||
} | ||
} | ||
} |
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
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