Skip to content

Karma, ts-loader and sourcemaps #93

@johnnyreilly

Description

@johnnyreilly

Heya,

I've just noticed that ts-loader doesn't seem to support sourcemaps when used with Karma. You can see this for yourself by following these steps:

1 - Clone this repo: https://github.com/johnnyreilly/globalize-so-what-cha-want

2 - Enter these commands:

npm install
npm run watch-demo

3 - Goto http://localhost:9876/ in your browser (I'm using Chrome), click the "DEBUG" button on the right. In the new tab hit F12 and open up the dev tools. Marvel at the original webpack code rather than the original source:

image

Feel sad.

I don't think this has anything to do with #59 - that's the only issue I found related to sourcemaps.

Does anyone have any idea why this might be happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions