Open cristiano-belloni opened 11 years ago
It's already possible when you run Shepherd from a Node.js environment, see https://github.com/xcambar/shepherd-js/blob/master/test/spec/nodeJSSpec.js#L58
In the browser, it requires a lot more work to do it securely.
@xcambar I'm wondering what you are referring to here about security.
I have implemented an XHR & eval-based approach to the loader polyfill here - https://github.com/guybedford/es6-loader. I'd be interested to hear your thoughts.
The question can be rephrased as: will you ever implement a loader in Sheperd? Be it a watered-down Harmony modules loader or something fancy like this pseudocode: