Closed Alhadis closed 7 years ago
You could use .gitattributes to ignore files during publication.
* text=auto
*.js text eol=lf
/.gitignore export-ignore
/.gitattributes export-ignore
/.editorconfig export-ignore
/fievel-mousekewitz48.gif export-ignore
@gorriecoe That only works for git archive
. NPM and APM work differently.
@Alhadis This works. I have used the same approach in https://github.com/gorriecoe/atom-silverstripe.
Well, I'll be fucked... it does too. Quite happy to have been proven wrong.
Makes me wonder why the hell we even need .npmignore
files, then...
Minor fix to improve the package's filesize (shaving off ~1.6 MBs). Basically, this image is now being loaded from a specific commit, instead of the master branch:
Ideally, we'd be using
.npmignore
to exclude the image from publication, but Atom's package manager has no support for this feature... so whatever the branch holds at the time of release is what gets tarballed.