fivem-js icon indicating copy to clipboard operation
fivem-js copied to clipboard

Fix a bug caused by tree shaking

Open Dreaming-Codes opened this issue 3 years ago • 1 comments

The tree shaking causes a bug that gives problems to all the files inside the models folder. It would be better to find a fix but until we understand the problem it is better to exclude thems

image as soon as the script is started

Dreaming-Codes avatar May 25 '21 12:05 Dreaming-Codes

Okay, I investigated and it's not a problem to use this pull solution because it just tells the compiler that it can't skip those files but will still check them for unused code.

Dreaming-Codes avatar May 25 '21 12:05 Dreaming-Codes