Re:PR converts the Three.js codebase to ES2015 modules
by espadrine on Saturday July 23, 2016 @11:56AM
(#12149835)
This does not look like an eval. It seems to be a script that generates a JS file. The string is not eval'ed, it is concatenated.
[ Parent
| on HN ]
Re:PR converts the Three.js codebase to ES2015 modules
by superswordfish on Saturday July 23, 2016 @12:05PM
(#12149882)
Good point, either way it is ugly that normal code is now a string. It is in rollup.config.js so maybe this is imposed by "Rollup", but I'm not about to go find how the "outro" option differs from the "footer" option in yet another JS build tool.