Skip to content
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 not working #1

Open
tomsoftware opened this issue Nov 28, 2019 · 0 comments
Open

Sourcemap not working #1

tomsoftware opened this issue Nov 28, 2019 · 0 comments

Comments

@tomsoftware
Copy link

Hi,

cause webpack is packing all together it is quiet difficult to find the source of an error. I thought this would be easy to fix / config but I give up. May you can help?

Example car.ts

  public go(msg: string): string {
	msg = null;
	console.log(msg.length);
   }

Results in stack trace - line number is 121 but actually is 23 in the Car.ts file:

        TypeError: Cannot read property 'length' of null
            at <Jasmine>
            at Car.go (test/sample_test.js:121:25)
            at UserContext.<anonymous> (test/sample_test.js:163:33)
            at <Jasmine>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant