dojo / dojo/webpack-contrib

Trouble with sourcemaps from istanbul-loader

Open
#217 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4
Forks
16
PR merge metrics
No merged PRs in 30d

Description

**Bug**

Using `istanbul-loader` fixes the coverage report from istanbul in @dojo/widgets, but it would appear that something it's doing is messing up the source maps. @matt-gadd confirmed that the source maps are being generated, but if you open the file in Sources tab in Chrome, you'll find that the source map is empty.

** Steps to reproduce**

- From @dojo/widgets, `dojo build widget -m unit`
- Then `dojo test -c local`
- The dojo test command will print out a URL when it's finished, copy this URL!
- Start a web server from the root widgets directory
- Navigate to the URL in your clipboard
- Open up the developer tools, Sources, load a widget!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.