Single Bin JavaScript
node_modules is too big and usually it has many things that you don’t need to use
- It has Readme.md
- It has examples
- It has tests and other unrelated code
It would be could to generate a single bin that uses tree shaking to make docker small and run better in lambda envs
It will also make node run faster as it has to process less files
We can remove the need for node_modules
Linked from
- Bundle analyzeMost modern apps can’t be built without dependencies, so we need to analyze the final bundle of our application to make sure we are not shipping unnecessary code We can also use…
Links to
- Node Modulesnode modules is where node keeps all their dependencies one good thing of node modules is that you can easily modify an external package code inside node modules and test your fix…
Shares tags with
- Memory LeakMemory leak when you allocated some memory and didn't dispose it.
- Package Sizemodules npm package sizes matters if you reduce your project dependencies your node modules will be small and it will be fast to run yarn install and also to cache and restore…
- PlaygroundPlayground Repl iPython Run javascript code in the browser, multi line it should work locally it should work with md(x) it should works with react components it should work with…
Sign in with GitHub to reply.
Select any passage to quote it.
Comments