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

webpack import - Can't resolve 'jquery.star-rating-svg' #28

Open
grigorisk opened this issue Dec 4, 2017 · 1 comment
Open

webpack import - Can't resolve 'jquery.star-rating-svg' #28

grigorisk opened this issue Dec 4, 2017 · 1 comment

Comments

@grigorisk
Copy link

hi! i try to install this plugin via npm in my project and i have this error
i make an import to webpack like "import starRating from 'jquery.star-rating-svg';"
i try also "import starRating from 'star-rating-svg';" but i have the same problem

@grigorisk grigorisk changed the title npm install - Can't resolve 'jquery.star-rating-svg' webpack import - Can't resolve 'jquery.star-rating-svg' Dec 4, 2017
@nashio
Copy link
Owner

nashio commented Dec 15, 2017

@grigorisk the plugin is not es6module ready, but you can update it doing something like this:
https://gist.github.com/samelwitt/3d9d67898a7f357f1a5833b7b8199ff8

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