config.mode = "development"
if (defined.PRODUCTION) {
    config.mode = "production"
}