specify "unpkg" and/or "jsdelivr" properties in package.json
niftylettuce opened this issue · 4 comments
niftylettuce commented
add "unpkg": "dist/cuid.min.js"
and "jsdelivr": "dist/cuid.min.js"
to package.json
so that we can use <script src="https://unpkg.com/cuid"></script>
and window.cuid
in our scripts
niftylettuce commented
also dist
is ignored in .gitignore
so it doesn't get published up.
so you will have to add to package.json
a property files
with value [ "dist", "lib" ]
niftylettuce commented
PR inbound in just a sec
niftylettuce commented
niftylettuce commented
👏 thank you @ericelliott