nestia icon indicating copy to clipboard operation
nestia copied to clipboard

Support output path maps/alias

Open SkyaTura opened this issue 1 year ago • 1 comments

Path alias is already a useful feature when running code analysis, however, the output is always path relative to the found module.

This may not be always desirable, like, for instance, when working with modular projects and/or monorepos, since the output will be outside the scope of the main project.

I'm already trying some solutions for this one, but I need further testing to make sure it doesn't break anything.

Probably there will be more feature requests related to modular projects, but I'm hoping this one will be enough.

SkyaTura avatar Jul 24 '22 21:07 SkyaTura

When defining nestia.config.ts file, I'll let developer to assign module instance.

Then this problem would be solved.

export interface IConfiguration {
    module?: object;
}

samchon avatar Aug 12 '22 06:08 samchon