You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
My project has some dependencies that are written in TypeScript that I yarn link to the project's node_modules directory in development. Currently I can only use these dependencies if I first compile them to JS. It would be nice just to be able to import the typescript directly, however the compiler gives me the following error:
Module parse failed: <path-to-dep>.tsx Unexpected token (7:7)
You may need an appropriate loader to handle this file type.
<file contents...>
This is clearly down to the webpack config only including files in the app path for ts-loader.
Would there be a problem with adding module_modules to this, or otherwise allowing a way to include other paths that contain typescript without having to eject?