Minimal build system for dev_compiler
This is a minimal build system to help people experiment with
pub global activate devc_builder.
Launch the build with the following command:
devc_builder main_package_path output_directory main_file_path
main_package_pathis the path to the main package to build
output_directoryguess what it is ?
main_file_pathis the relative path inside the main package where your
This tool will transitively examine the main package dependencies and produce a single
js module for each.
Then it will create an
index.html that will load all the dependencies and execute the
main function in the
You can test the results using
chrome canary or translate it with
babelJS and use
chrome. If simple enough recent
can run it without any translations.
- copying resources (at the moment it only translates .dart sources)
vulcanize/ etc. etc.
- try using
build(can it be done ? how to handle group of sources?)