Closed rubiin closed 1 year ago
@toonvanstrijp
@rubiin thanks! 🎉
will this be released soon? Will help speed up my builds
I'll make one in a bit! ;)
Released in V10.2.0 🎉
Just saw this, this is great! 👍 (I also planned to raise this at some point.)
FYI: Instead of the .npmignore
which acts as an "exclude list", you could also use the files property of the package.json
which acts as an "include list".
This avoids having to add new dev & test files in the future, because usually you would just include the dist
folder and you're done.
removes unwanted files from published package The current package size is
3.9MB
. After inspecting , I found some files that are not needed in the final library build are also exported on the package.After removing the unwanted files like docs and static assets, the library size goes down to
85KB
which is a great reduction in size