flexdinesh / flexdinesh/typy

How to import files without extensions?

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
225
Forks
21
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.