I am curious, why `node.js` and `browser` are impl...
# multiplatform
n
I am curious, why
node.js
and
browser
are implemented in the same target, but with different set of tasks? Multiple asme targets was deprecated for good reasons. What are my options to provide library, which will have slighly different
actual
implemention between node and browser? I was reading this log, got excited until got error about same target declaration.
h
Multiple JS targets are not deprecated.
f
It’s possible to separate both by manipulating sourceSet, just ignore the warning about js declaration
n
My bad, I thought it was an error. Seems we could develop a plugin which delivers nodejs and browser targets in our ecosystem. But it would be really great to have the same in upstream for reasons told in that ticket.