You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this would mean, that I would have to subclass ScalaJSWorkerImpl ... and somehow convince the scalaJS module to use that instead. Is that ... possible ... in a plugin?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I recently got something merged into Scala-cli which did this, and I'm quite enjoying not having a bundler in some simple projects.
Would anyone support something similar for mill?
I would have wanted to add it as a plugin, although I'm not sure, if it can be done like that, given the way the linking is managed.
It might (!) be simple enough. I think it should be more or less a case of surgically inserting this line;
https://github.com/VirtusLab/scala-js-cli/blob/690fcd28d27bfe8903b6630475007259296e56e5/cli/src/org/scalajs/cli/Scalajsld.scala#L325
Here;
mill/scalajslib/worker/1/src/mill/scalajslib/worker/ScalaJSWorkerImpl.scala
Line 198 in 384d757
I think this would mean, that I would have to subclass
ScalaJSWorkerImpl
... and somehow convince the scalaJS module to use that instead. Is that ... possible ... in a plugin?Beta Was this translation helpful? Give feedback.
All reactions