Trying to develop panels, lots of unexpected errors

Hi there,
I’m beginning with grafana and I have to develop panels for my company. So i started to make my own template for panels but when I build it with webpack I’m having strange errors

Here’s my code: GitHub - rnersesian/grafana-panel-template
The instructions are in the readme

I’m lost since I’m beginning in web dev and my brain is burning right now so a little help would be very kind.

Thank you!

edit: I’m just ignoring them and it seems to work anyway, I probably did something wrong in the webpack.config.js file