Closed FossPrime closed 7 years ago
This will require a smarter router :/ as versions in JSPM are part of the folder names... which sass and less know nothing about.
AND the router will have to be somehow, built into sass.... which is beyond me or the care of most of the maintainers.
Importing from jspm
You can import scss files from jspm packages from within scss files using the jspm: prefix. For example, if you have jspm installed twbs/bootstrap-sass:
@import 'jspm:bootstrap-sass/assets/stylesheets/bootstrap';
Seems this guy has the answers we seek.
JSPM lost ground to Browserify and WebPack, there is little reason to overhaul it instead of replacing it for webpack.
JSPM's registry has matured to the point where bower is completely unnecessary for all of the configurations. Removing it may be a little bit of work, as it's used extensively at build time and occasionally in the front end.