django-webpack / webpack-bundle-tracker

Spits out some stats about webpack compilation process to a file
MIT License
266 stars 107 forks source link

Optional chaining breaks compatibility with Node.js version 12 #118

Closed fsologureng closed 10 months ago

fsologureng commented 10 months ago

https://github.com/django-webpack/webpack-bundle-tracker/blob/0136aec9c6d9b7046ba1e25f396df5e383f401da/lib/index.js#L87

Optional chaining is not supported in Node.js version 12, so this code has broken declared compatibility.

fjsj commented 10 months ago

Thanks, at the same time, Node 12 LTS support ended more than 1 year ago. I will update the README.