question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make npm package smaller

See original GitHub issue

Currently, the npm package contains everything from docs to examples and and anything in between. Would it be possible to .npmignore a lot of that stuff, and have only the actual components in the package?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
iRoachiecommented, Feb 25, 2018

Ah yes! They use the same build system. Think as expo as a normal react-native application that has popular packages bundled in for you 😄

2reactions
iRoachiecommented, Feb 25, 2018

Only source files are including in the build process for react-native, so it won’t affect the app size of your generated apk/ipa

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node module size: See how I reduced it by 90%
You've ended up with 1GB node module size? We know the struggle is real but there's a way to reduce that size to...
Read more >
Reducing npm package size by 83%
NPM recently added Unpacked Size to the package details, I then realized one of my libraries was way too big (350kb) for the...
Read more >
Shrink the Node_Modules Folder Size in Yarn(1.*) Project ...
Shrink the Node_Modules Folder Size in Yarn(1.*) Project by Deduplicating Dependencies. We can reduce our node modules size by these actions:.
Read more >
Smaller published NPM modules
First, we need to find out the size of the current package. NPM stores all files as tar files, thus we need to...
Read more >
How to make a beautiful, tiny npm package and publish it
Just a tiny elephant with your whole life ahead of you. You're no expert in making npm packages, but you'd love to learn...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found