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

Add jquery as a dependency #1152

Closed
matthewp opened this issue Mar 17, 2015 · 6 comments
Closed

Add jquery as a dependency #1152

matthewp opened this issue Mar 17, 2015 · 6 comments

Comments

@matthewp
Copy link

This package depends on jquery but doesn't list it as a dependency in the package.json. This will break in webpack/browserify. Will send a PR if you agree.

@Soviut
Copy link

Soviut commented Mar 18, 2015

+1

2 similar comments
@megatrond
Copy link

+1

@mxkxf
Copy link

mxkxf commented May 29, 2015

+1

@jonathanhudak
Copy link

If it helps anyone, I was able to resolve this in webpack by adding jQuery as an external in my config

externals: { "jquery": "jQuery", "$" : "jQuery" }

@mkstix6
Copy link

mkstix6 commented Sep 24, 2015

I just bumped up against this with browserify. Hope you agree. Thanks in advance.

@adamscybot
Copy link

To anyone coming here searching for answers -- jquery is now a dependency of slick. However, in my case, I wanted to use my already loaded jquery in a script tag. To do this you can use webpack externals:

externals: [
    {
        jquery: 'jQuery'
    }
]

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

8 participants