Doesn't play nicely with Webpack
See original GitHub issueThis library doesn’t work with Webpack without overrides. In particular, jquery-mousewheel doesn’t get require
d properly,
From what I can tell, this is because, jquery-mousewheel is only require
d when RequireJS is deemed not present.
However, in the Webpack supports both the CommonJS and AMD formats, so this prevents the import of jquery-mousewheel.
In addition require("jquery-mousewheel")($)
won’t work if using Webpack, because, again, jquery-mousewheel will think we’re using AMD in this situation.
(#306 might be relevant.)
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Doesn't play nice with Webpack · Issue #93 - GitHub
I use Webpack with Node because it's a simpler way to use Babel, bundle node_modules and minify code. webpack.config.js : const path =...
Read more >Developers - Doesn't play nicely with Webpack - - Bountysource
Highly customizable custom scrollbar jQuery plugin, featuring vertical/horizontal scrollbars, scrolling momentum, mouse-wheel, keyboard and touch support etc.
Read more >Mobx-react doesnt play nicely with webpack and typescript
In my .tsx file I import observer like that: import { observer } from "mobx-react". and am getting error: ERROR in .
Read more >React Testing: Getting jest to play nicely with webpack static ...
Turns out it was fine before, but now since the css is imported in the component file, jest does not know what to...
Read more >Module Bundling with Webpack - LearnHowToProgram.com
Not all packages play nicely with every version of all other packages. ... Once that code is published online, Webpack doesn't need to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
try to resolve this problem in webpack, i am comment some lines in mCustomSrollBar.js file.
Problem consist of that file cant find route to node_modules folder for load mousewheel file, so there is a fast solution:
Seven month left from the date the issue appeared here. Any support for Webpack?