aurelia / bundler

A library for bundling JavaScript, HTML and CSS for use with SystemJS.
MIT License
37 stars 25 forks source link

Hosting bundles on external source #76

Closed Daniel-Glucksman closed 8 years ago

Daniel-Glucksman commented 8 years ago

I generated two bundle files and attempted to deploy them on Amazon S3. I modified the config.js file to point to the location but i was hit with a cors exception. Even after enabling cors support on my bucket it still failed presumably because it doesn't send the necessary cors request headers.

gheoan commented 8 years ago

In index.html use system-csp-production.js instead of system.js

Daniel-Glucksman commented 8 years ago

Seems to work but now i get an error babelHelpers is not defined any ideas?

ahmedshuhel commented 8 years ago

@EisenbergEffect @devteamexpress Any way I can reproduce this on my local machine?

EisenbergEffect commented 8 years ago

@devteamexpress Are you compiling in the browser instead of ahead of time? I'm not sure why you would get a babel helpers error otherwise.

Daniel-Glucksman commented 8 years ago

I included babel helpers manually and everything works now fine. I am using JSPM version 0.16.25