Skip to content

Is it possible to specify which module to import from with Transforms? #252

Open
@gCardinal

Description

@gCardinal

Couldn't find it in the documentation or by digging a bit in the source code; is it possible to specify which file to import when setting up our transforms?

Say I have a Contact file for a controller in app/controller/ and a Contact object for my routing in app/routes. It'd like to be able to tell grunt-ts to import not the controller but the route. Something like ts:ref=routes.Contact.

Is this at all possible?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions