G
G
gevwebf2016-10-24 10:57:26
JavaScript
gevwebf, 2016-10-24 10:57:26

How to enable debug for webpack?

Hello everyone ...
I have such a problem ...
if I have some error in the console (Chrome) when I click on the error, it goes to bundle.js I need that showed in the file where the error was

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Medin K, 2016-10-24
@medin84

enable source-map
module.exports = {
// debug: true,
devtool: 'source-map',

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question