satya164/quik

Super heavy packaging

jaimeagudo opened this issue · 4 comments

Just doing

$ cd template
$ quik

I see on the network tab the index.js is 2.2MB

screen shot 2017-04-20 at 15 41 49

Am I missing something?

This is development build + sourcemaps are inlined. Production bundle is much smaller.

Thanks for your fast reply 👍 . I guessed that (it seems a lot anyway) but was just asking cause this

quik --html --output out.html --production produces a 2.4MB out.html file so I thought there was some wrong root on my side

@jaimeagudo it's because the sourcemap is inlined. try with --sourcemaps false

That's my point :)

Obviously a --production build should remove the sourcemaps, I encourage you to change --production behaviour my dear friend :)

Thanks for sharing