Open dbartholomae opened 9 years ago
Let's do it :-)
— Sent from Mailbox
On Tue, May 26, 2015 at 11:53 AM, dbartholomae notifications@github.com wrote:
Would it be possible to wrap the module in a [universal module pattern][link] so that it can be required in node? This would remove the additional work of setting up the module path via requirejs.config. More importantly, it would allow other node modules to use it without polluting global requirejs config space. If this makes sense I could also create a pull request.
[link]: https://github.com/umdjs/umd/blob/master/returnExports.js
Reply to this email directly or view it on GitHub: https://github.com/iammerrick/Squire.js/issues/65
I've created a pull request
@iammerrick Did you have a chance yet to take a look at the pull request? :)
Thanks for your work, that is what I need indeed.
Would it be possible to wrap the module in a universal module pattern so that it can be required in node? This would remove the additional work of setting up the module path via requirejs.config. More importantly, it would allow other node modules to use it without polluting global requirejs config space.
If this makes sense I could also create a pull request.