Managing jQuery plugin dependency in webpack
You’ve mixed different approaches how to include legacy vendor modules. This is how I’d tackle it: 1. Prefer unminified CommonJS/AMD over dist Most modules link the dist version in the main field of their package.json. While this is useful for most developers, for webpack it is better to alias the src version because this way … Read more