forked from qti3e/registry
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for serving esm files directly from unpkg (#152)
The following changes have been made: * utils getEntry() allow a ${v} placeholder which supports passing the version to unpkg and converts a "master" branch name to the "latest" version * render support an "esm" type that serves the files directly * render_code bypass typescript file annotation for raw files (implied by "esm")
- Loading branch information
1 parent
f812031
commit e9d6979
Showing
4 changed files
with
50 additions
and
4 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
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
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