As Igor says it's possible to intercept built process and add code generation. This will allow to use single package for browser/flutter/vm.