ModuleLoader / system-register-loader

Module loader to load System.register modules in the browser and Node
15 stars 2 forks source link

Replace arrow function #1

Closed probins closed 8 years ago

probins commented 8 years ago

This solitary piece of ES6 prevents the file being compressed by standard UglifyJS, so I'd suggest removing it.

The other change was done auto by my editor :-)

Are you planning on releasing the dist/compressed version of this on jspm registry so people can use that rather than install their own copy?

guybedford commented 8 years ago

Thanks. The distribution version is on npm to use.

probins commented 8 years ago

what's the url? https://npm.jspm.io/system-register-loader@0.1.3/system-register-loader.js isn't found

guybedford commented 8 years ago

It's dist/system-register-loader.js... thanks, I had the wrong main set in the package.json.

probins commented 8 years ago

uncompressed though ... And it won't work in the browser as it uses require("process") (looks like jspm.io is adding this)