Using Browserify with jQuery Plugins

前端 未结 1 1464
栀梦
栀梦 2021-01-17 18:05

Some brief background: I\'m using browserify and browserify-shim (and gulp to build) to create a web app. Prior to this issue, I was requireing jquery from npm

相关标签:
1条回答
  • 2021-01-17 18:16

    Turns out you don't need to declare every jQuery plugin under browserify-shim if it only depends on jQuery. I just deleted the inview entry and everything works fine.

    0 讨论(0)
提交回复
热议问题