Skip to content

How to import files without extensions? #25

@pitymaia

Description

@pitymaia

Hi, I discovered Typy a little while ago and thought it will help immensely to ensure the quality of my code.
My colleague and I chatted and decided to add Typy to an ES6 Web project we're working on, but when I did that, I ran into a problem with the lack of filename extension for imports.

I'm new to ES6 so I didn't understand exactly why you did it this way, because browsers seem to require file name extensions.
So if possible I would like some guidance on how I should introduce Typy to my web project.

Should I use some transpile to add the extension or is there any other technique I can use? I just hope I don't have to resort to using some kind of Apache server rewrite.

Thanks for listening.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions