Hi everyone 👋
This PR introduced problem with production build, when we use in code PropertyShorthend.
I was trying to investigate this problem and I figured out that the problem is with this line.
If ecma is set to >= 6 then UglifyJS produces for example code:
const someVar = 'abc';
const testObj = {
someVar,
};
that production build:
const testObj = { someVar };
but should instead:
const testObj = { someVar: someVar };
Hi everyone 👋
This PR introduced problem with production build, when we use in code PropertyShorthend.
I was trying to investigate this problem and I figured out that the problem is with this line.
If
ecmais set to>= 6thenUglifyJSproduces for example code:that production build:
but should instead: