Closed Prinzhorn closed 10 years ago
I was still on 1.0.0 locally. Upgrading to 1.0.1 results in 57mb /test
folder as well. This increases build time significantly.
This is due to an npm bug related to how it deals with the combination of bundledDependencies and multiple node_modules folders in a repo. That module should be around 300KiB as a tarball, but I forgot a step in the build process. I'll republish 1.0.1 in a more svelte form later today.
Great, thanks!
Republished a bazillion times smaller. Sorry about that!
Confirmed. Dropped from 59M to 2.6M
I've noticed that my slug size on Heroku (https://devcenter.heroku.com/articles/slug-compiler) increased from about 30megs to over 70megs just because I added the newrelic module.
Running
du | sort -g
on the dyno these are the bottom linesI don't think the
/test
folder should be part of the release on npm. I suggest adding a.npmignore
file.Funny enough, on my dev machine the
test
folder only weighs about 1meg, whereas it's 57meg on Heroku.