Skip to content

basalt / generator/src / moduleFile

Function: moduleFile() ​

> moduleFile(n, artifact): string

Defined in: generator/src/templates.ts:84

Path of one artifact of a resource module — the single place the layout src/modules/<name>/<name>.<artifact>.ts is spelled out, so the generators and the sibling check (expectedSiblings) cannot drift apart.

Parameters ​

n ​

Names

artifact ​

ModuleArtifact

Returns ​

string

Released under the MIT License.