-
Notifications
You must be signed in to change notification settings - Fork 320
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
jQuery import issue #915
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you write following code in https://github.com/Sylius/Sylius-Standard/blob/1.12/assets/admin/entry.js:
You will get this error:
The workaround is removing
jquery
import:- import $ from 'jquery'; import './product-bulk-update'; $(document).ready(() => { $('#confirmation-modal').modal('show'); });
Not sure what the solution is, probably some webpack config that prevents double jQuery import.
The text was updated successfully, but these errors were encountered: