Open
Description
As you may read in how to publish your package on npm?, it's pretty easy to ignore dist/
folder from Git and still publish it to npm, by:
- ignoring
dist/
from Git in the.gitignore
file, - adding
dist/
folder to the npm package by adding it to thefiles
entry inpackage.json
.
This post also helps with pushing dist-tags, which could be handy for v3 (and soon v4).