Closed karelric closed 4 years ago
I don't think this'll work. The dart2native
compiler would need to be updated to do such a thing – and then you'd have to teach dart:io
to read from a virtual embedded file system or some such.
You're better just setting up your deployment to include your files!
After I build the binary of dart server using dart2native. I still need those files or directories next or relative to the binary.