Sbt-concat support multiple bundle?

205 views Asked by At

I am using sbt-concat to create bundles for JS in my application. However, it does not seem to support creating multiple bundles.

In my application, I would like to create a base level js for global use. Then I also want to create a components bundle which will be used on certain pages.

Is this something sbt-concat can do?

1

There are 1 answers

1
johanandren On

No it does not, but you should pretty easily be able to change it into something that does, or just create your own plugin that does.

This is actually the entire codebase that is the sbt-concat plugin (64 lines including whitespace and comments): https://github.com/mariussoutier/sbt-concat/blob/master/src/main/scala/com/mariussoutier/sbt/ConcatPlugin.scala