A
A
Andrey Petrov2017-02-21 18:51:47
webpack
Andrey Petrov, 2017-02-21 18:51:47

How to debug webpack loaders?

Hey! How to debug webpack loaders
for example when I run webpack I want to see what arrives in postcss-loader specifically here https://github.com/postcss/postcss-loader/blob/mas...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2017-02-21
@soltx

You can write console.log(pack) inside the loader code file (node_modules/postcss-loader/index.js) Console.log
output will be in the terminal where webpack is running

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question