-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Work as a node.js module? #64
Comments
Think the answer may lie in adding requirejs boilerplate or using amintercept |
Hey @srl295, someone from the project might give a better answer, but as I can tell this implementation uses pure AMD modules. So, you need to use an AMD loader (eg. amd-loader). Although, I'm not sure how to deal with the json plugins. In order to avoid such dependency and to get Node.js supported natively, the distribution files could be UMD wrapped. |
@rxaviers Hi! Nice to see you here also besides ICU! |
I'm hoping @clmath can give me some guidance here. We do want the package to work properly under Node.js. |
I didn't investigate this much, but it looks like the library can't load under node (
define is not defined
). Is it possible?The text was updated successfully, but these errors were encountered: