scala-node icon indicating copy to clipboard operation
scala-node copied to clipboard

Can it ? (efficiently)

Open slorber opened this issue 10 years ago • 0 comments

Hi,

I'm glad you did this POC and that seems really nice.

I definitively want to publish scalajs modules to NPM because on a very large project we can't afford huge compilation times that would probably be required if using something like SBT modules or Ivy/Maven dependencies, so it is better to publish the JS file.

However if I use your template for let's say publish 30 scalaJS modules to NPM, and then package them back to inside my JS client-side app (with browserify/webpack), I suspect it would lead to a lot of ScalaJS code overhead right? As far as I've read the it seems the minimum is near 150k.

So can we publish and consume a lot of ScalaJS modules on NPM without introducing too much overhead?

See also my comments here: http://underscore.io/blog/posts/2015/06/10/scalajs-scaladays.html

slorber avatar Jul 03 '15 20:07 slorber