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.

Slim Dependencies

See original GitHub issue

Based on a previous discussion. This is a short list of some of what can be done to reduce some of the larger items that increase the overall size of react-scripts. Excluded are smaller, opinionated, or rejected fixes.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:16
  • Comments:21 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
mhartcommented, Mar 14, 2017

You can take a high-level view here: http://pkgsize.com/react-scripts.html

jest, webpack, autoprefixer and eslint are the four largest contributors.

autoprefixer largely due to the ever increasing caniuse-db: http://pkgsize.com/autoprefixer.html (is autoprefixer really a must-have?)

jest mostly due to jest-cli mostly due to jsdom stuff and istanbul-api: http://pkgsize.com/jest-cli.html

… and they all include a whole bunch of babel libs – of which core-js makes up a large part: http://pkgsize.com/babel-runtime.html

2reactions
wtgtybhertgeghgtwtgcommented, Feb 21, 2017

jest@19.0.0 has been released, which contains the node-notifier bump. It’s also about a megabyte smaller.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependency Container - Slim Framework
Slim uses a dependency container to prepare, manage, and inject application dependencies. Slim supports containers that implement PSR-11 or the ...
Read more >
Dependency Injection in Slim 4 - Rob Allen's DevNotes
Dependency Injection in Slim 4 ... In contrast with Slim 2 and Slim 3, Slim 4 does not ship with a DI container,...
Read more >
Slim - PHP-DI - The Dependency Injection Container for humans
Slim is a micro-framework for web applications and APIs. Given the framework is compatible with PSR-11, Slim can work with any container out...
Read more >
In Slim Framework, what is a container and what is it for?
Slim uses a dependency container to prepare, manage, and inject application dependencies. Unlike its previous version, Slim 4 no longer ...
Read more >
Slim is a PHP micro framework that helps you quickly ... - GitHub
This will install Slim and all required dependencies. Slim requires PHP 7.4 or newer. Choose a PSR-7 Implementation & ServerRequest Creator.
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 Hashnode Post

No results found