qri-io / qri_install

easy qri building & installation
1 stars 0 forks source link

feat request: we need an option to toggle minification in the electron build #4

Open ramfox opened 5 years ago

ramfox commented 5 years ago

The main reason the electron build takes so long is the minification process. When we are trying to test whether a change we have made will break the electron build, but have no intention to publish, we should be able to toggle minification off.

Let's add a --no-minify flag to the qri_build electron command. This will add an environment variable NO_MINIFY, that webpack can use to determine whether it should minify the electron app while building.