preactjs-templates / material

The material design `preact-cli` template
MIT License
44 stars 20 forks source link

Why is it a 1.3MB production build? #29

Open jonrosner opened 4 years ago

jonrosner commented 4 years ago

When I build the template I get a 1.3MB production build. Why is that? If I look at the minified version of material-design it is just 137kB and preactjs is supposedly only 4kB in size.

I am thinking about using it especially for its reduced size compared to standard react but seeing these numbers I am a little bit confused.

The largest file by far is the bundle.js.map file with ~700kB. Followed by bundle.js with ~120kB. I would need to reduze these sizes significantly in order for this to be useful for me.

Thanks in advance. I would really like to use this template!

prateekbh commented 4 years ago

is it just the template or did you make some changes?

jonrosner commented 4 years ago

Just the template