We were checking the JS output our project generates the other day and noticed that there is a lot of unwanted/unused code being generated even though DCE = full is used.
Things we encounter:
- The Haxe Error which is never used in our (generated) code
- Std.String even though this is also not used in our (generated) code
- All classes get a name = true flag added
What would be the most suitable way to avoid this kind of output. Adding it all together results in quite a lot of js code…