mojito-js-delivery icon indicating copy to clipboard operation
mojito-js-delivery copied to clipboard

Configurable container includes for build script

Open kingo55 opened this issue 6 years ago • 2 comments

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?

kingo55 avatar Oct 04 '19 05:10 kingo55

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

allmywant avatar Oct 04 '19 05:10 allmywant

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.

kingo55 avatar Oct 04 '19 06:10 kingo55