Skip to content

Instantly share code, notes, and snippets.

@munificent
Created March 14, 2019 22:25
Show Gist options
  • Save munificent/bef258cf691fae5d52459cc640eb6cb7 to your computer and use it in GitHub Desktop.
Save munificent/bef258cf691fae5d52459cc640eb6cb7 to your computer and use it in GitHub Desktop.
var command = [
engineDartPath,
frontendServer,
...fileSystemRoots.map((root) => "--filesystem-root=$root"),
...entryPoints
.where((entryPoint) => fileExists("lib/$entryPoint.json"))
.map((entryPoint) => "lib/$entryPoint"),
mainPath
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment