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 has been archived by the owner on Feb 18, 2024. It is now read-only.
In my app, there is a primary bundle that I download at the very beginning, containing many of the common references needed throughout the app. I created this bundle using jspm bundle app bundles/core-bundle.js --inject --minify
However, whenever the user navigates to another page in the app, it downloads any additional files that that specific page needs (e.g. the angular controller js file and dependencies that correspond to that page). Is it possible to use jspm to transpile and minify these individual files without bundling them together? I've been banging my head against this one for awhile and have come to the conclusion it isn't possible without just running traceur via gulp myself like this guy: http://stackoverflow.com/q/25677930/1603284. I would just rather not introduce gulp just for this if I don't have to
The text was updated successfully, but these errors were encountered:
Is there a reason that you want individual files, as opposed to simply small bundles. I ask because I've had success with the multiple bundles approach in AngularJS apps. Bundle arithmetic works particularly well in this scenario.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In my app, there is a primary bundle that I download at the very beginning, containing many of the common references needed throughout the app. I created this bundle using
jspm bundle app bundles/core-bundle.js --inject --minify
However, whenever the user navigates to another page in the app, it downloads any additional files that that specific page needs (e.g. the angular controller js file and dependencies that correspond to that page). Is it possible to use jspm to transpile and minify these individual files without bundling them together? I've been banging my head against this one for awhile and have come to the conclusion it isn't possible without just running traceur via gulp myself like this guy: http://stackoverflow.com/q/25677930/1603284. I would just rather not introduce gulp just for this if I don't have to
The text was updated successfully, but these errors were encountered: