These are chat archives for systemjs/systemjs
0.16.23I know that JSPM uses systemjs underneath so I decided to go straight here. By I may try jspm as well.
@m-j see heresystemjs/systemjs#1325
Soup answer: Imagine you have 2 barrels, one empty and filled with different vegetables. Now, you love cabbage, you eat it almost every day. You have a variety of different kinds of cabbages. Everyone knows that you don't eat an entire cabbage for a meal. When you go to grab some, you find your self digging around the other veggies to find the perfect piece of cabbage, cut a portion off, and toss it back in.
Now, it goes without saying, that you can save some time by having a dedicated barrel for all cabbages:
jspm bundle soupRecipe.js - cabbages.js soupWithoutTheCabbage.js --inject
^bundle everything according to
soupWithoutTheCabbage.jsexcept the cabbages because those will change often.
soupRecipe.jsincludes dependancies such as
NaCl, things that are in most soups and will not change often. In this way, the rest is done for you.
Or you may decide to prepare all of it beforehand:
jspm build soupRecipe.js cabbageSoup.js
Cabbage soup mix. You can't reach in and take out the cabbages, if you want to change it, you have to start from the beginning.
Or you may want to store your ingredients in the exact order you need them:
jspm depcache soupRecipe.js -o allIngredientsInOrder.js
All of the ingredients are labeled 1, 2, 3..., you can add them quickly without thinking.
In your case you are rooting through a barrel, following arbitrary instructions. Worse than that, you store all of your vegetables in the shed out back, and you can only carry 3 ingredients at a time to your kitchen (http requests with your web browser).
If you want to throw all of your ingrediants back into one barrel and start over:
I hope that's at least somewhat helpful.