1

I have bundle with jQuery and some other global plugins. Also I have bundle with "fancybox" plugin, bundle with "swiper" plugin. (They are jQuery plugins, but don't include jQuery and work on my jQuery bundle)

But, "tooltipster" plugin bundle, includes it's own jQuery. Same with "jquery-validation" plugin...

How can I avoid this?

1 Answer 1

2

Suddenly, i found a solution in webpack configuration.

    externals: {
        jquery: 'jQuery'
    },

https://webpack.js.org/configuration/externals/

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.