5 ms·
Interesting concept, but it seems rather heavy. Installing it from npm pulls in over 400 packages, weighing in at about 60MB.
by segphault 9y ago
Interesting concept, but it seems rather heavy. Installing it from npm pulls in over 400 packages, weighing in at about 60MB.
- joshmanders 9y agoTry installing non-dev dependencies.. That's where a lot of your weight comes from, which is not in production.
- segphault 9y agoSo, I just did "npm install next react react-dom" which isn't bringing in next's development dependencies. Is there something that I'm missing?
- joshmanders 9y agonpm install next react react-dom --production
- segphault 9y agoThat gets me the exact same thing. And afaik what you get from --production is the default behavior when you install a package directly from npm.
- joshmanders 9y agoWhat's the contents of your $HOME/.npmrc file? Because it shouldn't be unless you have `production = true` set.