mint-metrics / mojito-js-delivery

🧪 Source-controlled JS split testing framework for building and launching A/B tests.
https://mojito.mx/docs/js-delivery-intro
Other
16 stars 29 forks source link

Configurable container includes for build script #7

Open kingo55 opened 4 years ago

kingo55 commented 4 years ago

Currently when you build the container, it pulls together:

  1. Mojito library code
  2. Shared code
  3. All live and staging tests' code

And it outputs that to both a minified and un-minified container files.

What if a user already has Mojito Lib in their site code and only wants to stitch together their active tests?:

  1. Mojito library code
  2. Shared code
  3. All live and staging tests' code

Should we have a configuration option over how the container builds itself?

allmywant commented 4 years ago

@kingo55 I think we can have this configuration option in the existing config.js.

kingo55 commented 4 years ago

Just what I was thinking too, @allmywant .

We haven't got a use for this issue yet, but I wanted to at least record the idea JIC.