-
-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sourcemap contains js files #17
Comments
Make sure you've set On a side note, just before you posted this I reached out to you on twitter. Wondering about your thoughts on feature parity between this and other TS loaders. |
I did test this and it works fine as long as you have specified a tsconfig.json file and turned sourcemaps on. By default they are off so TypeScript never generates a sourcemap to hand off to webpack. I'm going to close since I don't believe there is an issue but if you still have problems feel free to reopen. |
hey, sorry for the late reply. I had never heard of tsconfig.json yet, it works now. tnx! |
Will this also work if the ts configuration is inside the webpack configuration instead of a tsconfig.json?
|
Hey, I'm using this together with your jsx-ts-loader plugin.
Also I need sourcemaps, and I used to use the 'sourceRoot' in the sourcemap file before.
I just read here how I can do that with webpack, and it's working, but now I see the content of my sourcefiles are actually the compiled js, not typescript. Any idea what I'm doing wrong or if this is a bug?
Here's my setup:
and the abbriviated sourcemap file:
The text was updated successfully, but these errors were encountered: