Proof of Concept of building Isomorphic Dart Web Apps with simple preprocessor. Unfortunately Dart doesn't support conditional compilation natively, so it is an ugly solution.
src
- source code with preprocessor directiveslib
- automatically generated fromsrc
server
- backendweb
- frontend
$ pub build
$ dart ./server/main.dart