I was wondering if someone could help me to figure out how to configure RequireJS in my case. I have this seed template that has a root sbt project with two main subprojects: web (for users) and admin. Each subproject has it's own configuration (pipelineStages and RjsKeys.mainModule) and I currently can run and dist them as independent subprojects and they work perfectly. You can check the build.sbt and Common.scala files to see the configuration.
The problem is that I would like to be able to dist the root project as well. Then, I would need to perform the RequireJS optimization for each subproject independently, but I can't. It only happens for the root project itself, so it requires me to implement an only one build configuration as a whole project.
So then, is there any option to perform an independent RequireJS optimization for each sbt subproject?
Hi,
I was wondering if someone could help me to figure out how to configure RequireJS in my case. I have this seed template that has a root sbt project with two main subprojects: web (for users) and admin. Each subproject has it's own configuration (
pipelineStages
andRjsKeys.mainModule
) and I currently canrun
anddist
them as independent subprojects and they work perfectly. You can check the build.sbt and Common.scala files to see the configuration.The problem is that I would like to be able to
dist
the root project as well. Then, I would need to perform the RequireJS optimization for each subproject independently, but I can't. It only happens for the root project itself, so it requires me to implement an only one build configuration as a whole project.So then, is there any option to perform an independent RequireJS optimization for each sbt subproject?
Thanks!