Skip to content
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

AMD definition ignored when using RequireJS optimizer #22

Open
conradz opened this issue May 3, 2013 · 1 comment
Open

AMD definition ignored when using RequireJS optimizer #22

conradz opened this issue May 3, 2013 · 1 comment

Comments

@conradz
Copy link

conradz commented May 3, 2013

I ran into some problems using the RequireJS optimizer on this module, it inserts the line define("put", function(){}); after the put.js source code in the optimized output. Somehow the very non-standard UMD footer is causing the optimizer to think that it is not an AMD module.

I got it working with the optimizer using this header template, but I couldn't figure out how to get it working in node, since it has to load node-html.js.

This may be related to #19, not sure.

@kriszyp
Copy link
Owner

kriszyp commented Oct 9, 2015

This looks like a duplicate of #28 (ok, actually the other way around). Does this fix for that one fix this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants