use the same tasks for production & development build

production state is determined with the NODE_ENV variable from this point forwards