I was expecting behaviour to be same as the official dev tools, but the tools are not being automatically excluded from production builds.