- use the `module.out` parameter for the generated output file path when this parameter is specified; otherwise use `module.name` (which, incidentally, will be expanded to its path) as before.

- the `module.out` path is relative to the `config.baseUrl` path when it is a relative path: same treatment like any other relative path.

- normalize the output path to remove any `./` or `../` which came in via `module.out`