Closed dannyrb closed 7 years ago
I lied @swederik, I made a PR without your 👍 Simple single liner.
@swederik is there a way to trigger an automatic NPM package release?
Not that I'm aware of :-( What's your npm username? I just published 0.8.3
Thanks for publishing a release :+1: You can find me on NPM here: https://www.npmjs.com/~dannyrb
If you find yourself spending a lot of time manually publishing releases, we can have a conversation around Continuous Integration / release / deployment?
Closing, because that publish fixed my issue 🎉 You can see for yourself by visiting: https://unpkg.com/cornerstone-web-image-loader
Missing
main
tag inpackage.json
requires a more explicit path to use. You can see expected usage versus actual usage below. Here is an example of the tag incornerstoneWADOImageLoader
:https://github.com/chafey/cornerstoneWADOImageLoader/blob/master/package.json#L15
Expected:
Global
<script src="https://unpkg.com/cornerstone-web-image-loader"></script>
Import
import * as cornerstoneWebImageLoader from 'cornerstone-web-image-loader
Actual:
Global
<script src="https://unpkg.com/cornerstone-web-image-loader@0.8.2/dist/cornerstoneWebImageLoader.js"></script>
Import
import * as cornerstoneWebImageLoader from 'cornerstone-web-image-loader/dist/cornerstoneWebImageLoader.js
If I get a :+1:, I'll make a quick PR