Scripted relies on a module system to determine where to find
dependencies. It can use AMD modules (eg- requirejs) or commonjs
modules (eg- node). There is some support for global modules (ie- no
module system and all files are in the same namespace). But, all
three of these systems require some sort of baseline from which to
determine dependencies between modules.
Since you are writing client side code, and it doesn't look like you
are using requirejs or AMD. Then your nest bet would be to create a
mock html file that imports all scripts that depend on each other
using script tags in the html file. Note that order is important
here. Files imported later in the html can reference files iimported
earlier, but not the other way around.
We wanted to allow a way to specify this in a config file, but never
got around to implementing this.
> --
> You received this message because you are subscribed to the Google Groups
> "scripted-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
scripted-dev...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.