jQuery
is installedimport $ from 'jQuery'
...
var content = $('#id').html();
import
statement so you have to transpile the code with Webpack commands, the bundler will check all the used dependencies and bind them in a single file without any dependency problems.