Source-Map is picking random files
See original GitHub issue- bug report
Here are my versions: Webpack: 1.12.14 Windows 7
Browsers: Fails in: Chrome: 51.0.2704.84
Works in: IE 11, Chrome 53.0.2767.0 canary (64-bit)
Language: TypeScript
Bug: When I select a file in the chrome debugger, the file that actually opens is a random file from my project.
For example, I have the following file: /src/views/configuration/configuration-vm.ts.
When I open this file in the chrome debugger, a random file is loaded from my project instead. The random file is sometimes a .ts or a .html file. (However, the CSS files seem unaffected.)
NOTE: The WEBPACK FOOTER clearly says what the file name is along with its module ID.
The odd thing is that I have not updated WebPack for over a month.
I tried this on Chrome Canary and it works fine. (Version 53.0.2767.0 canary (64-bit)) It also seems to work fine in Internet Explorer 11.
Just Chrome Stable seems to have this bug.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:9 (1 by maintainers)
@mmmeff The OP mentions the source map works in Chrome canary so I tried that. Maybe someone should file this as a Chrome bug instead?
@mmmeff - I do not use Babel at all. Just TypeScript to JavaScript. (And I am seeing the bug)