Keep Object.constructor.name
ceremcem opened this issue · 2 comments
ceremcem commented
Any code may rely on obj.constructor.name
which is replaced by the letter t
in --production
build:
yairEO commented
So what's the fix? which rules should I give to specifically not replace *.constructor
with t
?
ceremcem commented
Are you using ScadaJS or you have a separate project? If you use ScadaJS, you don't need to do anything, it should be already fixed. If you have a separate project, it's better to provide some more information, such as your build script and/or the test case.