Answer the question
In order to leave comments, you need to log in
Why is Webpack swearing at the operator?
There is this piece of code:
let concateUrlSearch = Object.entries(urlHash.split('&').reduce((acc, n) => (
n = n.match(/(.*)=(.*)/),
(acc[n[1]] ??= []).push(n[2]),
acc
), {})).map(n => `${n[0]}=${n[1].join('|')}`);
Answer the question
In order to leave comments, you need to log in
If this is in the code, then include babel + preset-env
If this is in the webpack config itself, update the node to 16
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question