-
Notifications
You must be signed in to change notification settings - Fork 73
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
Argon.js fails with Webpack #61
Comments
Hi, thanks for reporting this issue! I believe this is fixed in the develop branch. Can you try installing |
I tried installing On further inspection, it seems to be caused by this (in the first line of
And if I just change that to |
@ammulder Any chance you have tried webpack@2 ? |
The checks for a |
According to I don't think Webpack has solved the general issue, which appears to be that whenever it sees "require" it tries to analyze what you're "requiring" so it can handle that. But in the argon.js usage that's causing the problem, you're only checking whether the require function exists, not actually "requiring" anything. I guess Webpack doesn't figure that out? |
So good news / bad news: I found that the latest version of |
Waiting on frankwallis/plugin-typescript#204 to be resolved then I can "fix" this |
I gather this is usually caused by calling require with a variable instead of a string:
The text was updated successfully, but these errors were encountered: