-
Notifications
You must be signed in to change notification settings - Fork 121
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
Integrating Response with Webpack2 #63
Comments
@gonzaloplaza Thanks for the detailed report! Hmm. I wonder...does it work as "root.jQuery": "jquery", Do you know which version of |
In that pattern If webpack somehow forces it to run in strict mode then |
Hi Ryan, Any updates on this? because I think it is quite similar to the issue I am facing.... Thanks, |
This webpack configuration works for me:
Sample js file can looks like this:
This is is working because response.js file is imported with |
That configuration worked for me too. Thank you very much! . |
@kierzniak Thx for posting that solution! Do you think that changing line 9 to do |
I just released v0.10.0 with |
This update (v0.10.0) did not work for me in Webpack 3. I had to revert to v0.9.1 in combination with @kierzniak 's suggestion above. |
Ok @kbherbert thanks for reporting. FYI #76 is loosely related regarding the root export name. |
Thanks @adrexia Patched in v0.10.1 Available from npm like
|
Hi Ryan
I'm developing a project using this theme from themeforest (https://themeforest.net/item/kosmo-multi-purpose-responsive-bootstrap-4-admin-template-ui-framework/19506620) wich uses Response.js.
I'm using Webpack2 to generate a unique bundle and can't load Response.js -> I'm getting this error after generating bundle, in console:
This is the config i've used for webpack2:
Looks like when Response is being loaded, it doesn't recognize jQuery , this is the exactly line that fails. What is root?
Note: i'm using jQuery 3.2.1
var $ = root['jQuery'] || root['Zepto'] || root['ender'] || root['elo'];
Do you have any idea if something not compatible or i'm doing something wrong?. Thank you in advance
The text was updated successfully, but these errors were encountered: