Hi again,
I have another question :
<script src="lib/curl/src/curl.js" data-curl-run="bundle.js,run.js"></script>
It makes it possible to use bundle.js in PRODUCTION, whereas run.js is used in DEV.
But my need is a little different :
- on my localhost : use run.js (where config for curl would be)
- on tests environnements : use bundle.js (where config for curl would be and app's modules)
- on production : use bundle.min.js
Does that make sense ?
So, I wonder if the following is possible with curl :
<script src="lib/curl/src/curl.js" data-curl-run="bundle.min.js,bundle.js,run.js"></script>
and specify, in the run.js in configuration options :
var cfg = {
local: run,
testEnv: bundle,
prod: {
min: true, // if false, the bundle.js is taken, default = true
}
}
Also, cram.js allows to build the bundle. But how is it that cram and curl can work together ?
Again, thank you very much for the help guys.
Regards,
Johan Chouquet