boxart / boxart-boiler

A boilerplate for Responsive DOM based Open Web Games.
MIT License
13 stars 4 forks source link

Making QA Menu Removable #1

Open MattSurabian opened 8 years ago

MattSurabian commented 8 years ago

We should setup the QA Menu along with a sample production build webpack config that can use the ProvidePlugin along with the UglifyPlugin to completely remove QA code from the build.

MattSurabian commented 8 years ago

We're not yet using the QA Menu so we're punting this ticket for now because there's nothing we can do to actually modify the build until we pull in the QA Menu

kadamwhite commented 8 years ago

Implementation plan: Gate QA content within BoxArt-Boiler behind a conditional, so that uglify can excise them on production builds.

We should add QA menus to simple-demo so that we have a demonstration of this type of optimization.