A
A
Azaz12015-11-22 22:27:23
JavaScript
Azaz1, 2015-11-22 22:27:23

Why is the bundle size in the Counter example from Samples in Redux 2Mb?

I compiled a bundle for the Counter example in the Redux sources - it weighs 2 mb!
Are these all these tiny Redux apps???

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Petrov, 2015-11-22
@dzhiriki

In a dev environment, with sourcemaps and without minification, any application weighs so much.
In production mode, without sourcemaps and with minification, the weight will be several times less.

A
AZaz1, 2015-11-22
@AZaz1

compiled for production environment webpack -p

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question