-
Notifications
You must be signed in to change notification settings - Fork 489
Posibility for importing js modules #73
Comments
There is another issue open (#60) for converting to use See description at https://github.com/s-panferov/awesome-typescript-loader |
@bryanmig will this also fix jest test js importing? I think I'm running into this issue right now, when requiring a |
I'm sorry - I dont recall having that same problem so I'm not sure if it will be resolved. |
Even though createing a custom build config would solve my issue, it might be a nice implementation in create-react-app-typescript :-) ? |
I have a generated peg.js parser I want to use in a parser.js file. I then added a test spec for it so I could setup a few test cases for the parser and find that no matter what I do cant get more the name of the module "parser.js" as the result of Is there anything I can do that might let me get tests going ? Its been a while since I've worked much with typescript and I am still quite new to CRA so not sure I can contribute much to actually work on create-react-app-typescript itself to help address the behavior I am seeing. |
As this hasn't been updated for a while, I am closing this issue. Please re-open if we have an update. |
I am currently using this awesome package in order to have typescript without sacrificing the benefits of create-react-app.
Even though i would love to refactor all of our code to TypeScript we dont have the ability to do so. Instead we were trying to make declaretion files for the modules we kept as es6. But when we tried to import the es6 module the code was not transpiled.
Could we somehow allow the package to keep the standard babel config for .js files :-) ?
The text was updated successfully, but these errors were encountered: