Closed niftylettuce closed 5 years ago
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" ]
PR inbound in just a sec
see https://github.com/ericelliott/cuid/pull/124
after merging you will just need to version bump
I recommend np and release for NPM/GitHub release management if you wanted something to make this easy
👏 thank you @ericelliott
add
"unpkg": "dist/cuid.min.js"
and"jsdelivr": "dist/cuid.min.js"
topackage.json
so that we can use<script src="https://unpkg.com/cuid"></script>
andwindow.cuid
in our scripts