kciter / qart.js

Generate artistic QR code. 🎨
https://kciter.github.io/qart.js/
GNU General Public License v3.0
3.17k stars 174 forks source link

min version - too big ? #10

Closed leverdeterre closed 7 years ago

leverdeterre commented 7 years ago

Hi, thanks to share your nice project.

is it normal to have your qart.min.js size bigger than your qart.js ?

kciter commented 7 years ago

Oh.. I will check it.

tiaanduplessis commented 7 years ago

@kciter The issue is the devtool property in the Webpack config is set to inline-source-map. I've set it to cheap-module-source-map and was able to get qart.min.js down from 406 kB to 37.5 kB and qart.js down from 340 kB to 97.4 kB. There are also other options. Would be happy to make a PR

kciter commented 7 years ago

@tiaanduplessis Thank you :)