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
I've just a simple question:
In my Angular project all my files are .ts.
If there are some errors on my files, during build time In the Log area they are partially correct:
The file name is correctly highlighted but the row and column number is wrong, in fact for each error i get this sentence: You may need an appropriate loader to handle this file type
There is a way to use the same error style for typescript files ?
thank you
The text was updated successfully, but these errors were encountered:
@giolf -- Can you open up a minimal repository with a dummy TS file and a full webpack config with install + error reproduction steps so that we can clone down the whole thing and see for ourselves what you're seeing? Thanks!!!
@giolf Typically I see that error if I don't have a proper loader for TS files configured in my webpack setup. What loader are you using for your TS files to compile them to JS? We'll take a look on our end, but can you ensure you're using a properly configured loader like ts-loader. webpack has a great guide for this setup here.
Hey guys, I’m sorry if I’m answering just now but I had a veeeery stressfull time.
I’m using the angular cli (angular 6) which with some tricks allow to customize the webpack.conf file. Unfortunately I didn’t have time to investigate anymore about this issue. But in the next days I will write here more details about my current setup.
@giolf Thanks. Anything we can clone and immediately see the problem on our machines will ensure we have as rapid response as possible (or CodeSandbox too!)
I've just a simple question:
In my Angular project all my files are
.ts
.If there are some errors on my files, during build time In the
Log
area they are partially correct:The file name is correctly highlighted but the row and column number is wrong, in fact for each error i get this sentence:
You may need an appropriate loader to handle this file type
There is a way to use the same error style for typescript files ?
thank you
The text was updated successfully, but these errors were encountered: