You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
buildStatic and Conditional Substitions with rollup enable in jspm@beta #549
constoutputOptions={conditions: {"app/core/config/entorno.condiciones.js|entorno": entorno.toLocaleLowerCase()}};newjspm.Builder().buildStatic("app/main.js","bundle.js",outputOptions).then(()=>{log.info(chalk.blue("Generación de javascript completada con éxito."));callback();}).catch((ex)=>{log.error(chalk.red("Fallo la generación."));throwex;});
Activity
guybedford commentedon Apr 16, 2016
This may have been fixed in 104ff4f.
fchiumeo commentedon Apr 17, 2016
not working yet 😢
guybedford commentedon Apr 22, 2016
I can get this to work fine in jspm 0.17.0-beta.13 with:
Let me know if you're still having issues here.
fchiumeo commentedon Apr 22, 2016
same error, not working with command and gulp task
guybedford commentedon Apr 22, 2016
@fchiumeo can you perhaps share a full replication then? Also please confirm you're definitely running the latest beta.
fchiumeo commentedon Apr 22, 2016
fchiumeo/app-jspm
i'm testing on jspm 0.17 beta 13 and systemjs/builder#master
guybedford commentedon Apr 22, 2016
Ok thanks, this actually has nothing to do with the conditional side of things, it's a bug with the rollup optimization process. I'm looking into it.
guybedford commentedon Apr 22, 2016
Thanks for the test case, fixed in 548879c.
fchiumeo commentedon Apr 23, 2016
now working fine
very thanks
guybedford commentedon Apr 29, 2016
Released in 0.15.16.