-
Notifications
You must be signed in to change notification settings - Fork 474
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
import urijs into es6 project #288
Comments
Okay. I got it.
does work, but for some reason i am only able to access the static methods. The Any ideas how to fix that? |
I don't know what system you're using to import modules |
argh. Invalidating intellij cache and restarting did the trick... nonetheless, good to know that it should work :) however, its strange that webpack did not bundle it correctly... so... i guess the issue is not reproducible... |
I have to work with a ES6 project, and sought to use urijs for url manipulation. However, i do not seem to get urijs to be accepted in my source.
Neither
import URI from "urijs";
norimport * as URI from "urijs";
nor plainvar URI = require("urijs");
will work out as imagined...
Maybe urijs is not compatible with es6 / babel or am i missing something obvious?
The text was updated successfully, but these errors were encountered: