geelen / jspm-loader-css

50 stars 27 forks source link

Remove System requirement from bundled code. #44

Closed MeoMix closed 8 years ago

MeoMix commented 8 years ago

Fetch isn't allowed to return ES6 logic if one is going to bundle w/o SystemJS' runtime. By changing the export string from 'export default' to 'module.exports' we remove a need for System in bundles.

oligot commented 8 years ago

This would fix the self-executing bundle, so it would be super cool to merge this PR :smirk:

MeoMix commented 8 years ago

@oligot https://github.com/MeoMix/jspm-loader-css I made a release w/ this fix if you're so inclined.

oligot commented 8 years ago

Thanks !