Closed miniven closed 6 years ago
Ok, sorry. I've been struggling with my carelessness all morning. Found where the problem lies:
I should have been written this:
bundle.transform(babelify, {
global: true
});
bundle.transform("browserify-shim", {
global: true
});
Instead of this:
bundle.transform(babelify, {
global: true
}, "browserify-shim");
Yup the 3 args is the issue there
I use Gulp + Browserify.
In my package.json:
and gulp task is:
And I need to import jquery in the file, where it needed as a dependency of another library:
But in the final bundle Selectize still importing jQuery by its own, even if I do not import jQuery manually.