GamedevMania / phaser-ce-boilerplate

Template for games development in Phaser Community Edition.
MIT License
4 stars 0 forks source link

vendor.js.map is 8 mb? #1

Open jjwallace opened 6 years ago

jjwallace commented 6 years ago

vendor.js.map is huge, is there a way to eliminate this file? I need my games to be under 3mb, a little more details about this? I see that in the build there is no phaser.min.js is this concated into vendor?

jjwallace commented 6 years ago

Ahh it seems when i delete them i drops down to 800 kb, the size of phaser.min.js, cool :) this is a great boilerplate, i am hesitant to switch to phaser3

writen commented 6 years ago

Hello. You can remove *.js.map files or disable their generation in the webpack.prod.js file by changing the parameter in line 10 to false.

jjwallace commented 6 years ago

Oh that is awesome! Works Great! :D :D