Skip to content

How to perform an independent RJS optimization for a sbt subproject #72

@adrianhurt

Description

@adrianhurt

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 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?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions