Did anybody tried to use closure to remove unused code (including kotlin.js)?
k
konsoletyper
04/14/2017, 9:09 AM
You mean google closure compiler? It does not support ES5-style properties (Object.defineProperty) which is widely used in kotlin.js, hence it's unusable with Kotlin.
g
gaetan
04/14/2017, 9:17 AM
@konsoletyper Do you know other tools that could do the job? I currently use require.js to define my whole application and would like to have for production a single smallest js file.