I'm looking to include some sample websites in my web framework package. Currently, the sites work fine when running them as Dart-only implementations, but if I need to compile them to JavaScript, I have to manually move the subfolder from my package's /example
directory to a new folder called /web
. This is because I only know how to use dart build to compile client-side code to JavaScript when it's located in the web directory. Is there a way to specify a different root folder for dart build to run in, such as pkgRoot/example/example_1
?