h5p-boilerplate - Disable minifying files (solved)



I am trying to create a new content type from the h5p-boiler plate (question-type branch).

I discovered that I have to run build commands.

However, it minifying my files so I can't easily debug.

How can I disable this minification ?

I looked at webpack.config.js and it look like it is supposed to handle sourceMap bug my browser doesn't seems to detect any sourceMap.

The devmode is set to true.

What am I missing ?

edit : I finnaly found a way by commenting  new MinifyPlugin({}, {  sourceMap: isDev  })

edit : i also replaced a line of the package.json because the watch command wouldn't run :

  "watch": "cross-env ./node_modules/.bin/webpack --watch"