Laravel Elixir Webpack jQuery
<p>It comes with Laravel 5.3 and I am new to Webpack.</p>

<p>Can anyone help me as I keep getting this error:</p>

<pre><code>$(...).liteuploader is not a function ..
</code></pre>

<p><a href="https://i.stack.imgur.com/dk63J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dk63J.png" alt="enter image description here"></a></p>

<p>bootstrap.js:</p>

<pre><code>window.$ = window.jQuery = require('jquery');
require('bootstrap-sass');
require('lite-uploader/src/liteuploader.js);
</code></pre>

<p>app.js</p>

<pre><code>require('./bootstrap');

$(function(){
  $('.file-uploader').liteUploader();
  $(".file-uploader").change(function () {
    $(this).data("liteUploader").startUpload();
  });
});
</code></pre>

<p>gulpfile.js</p>

<pre><code>const elixir = require('laravel-elixir');
elixir((mix) =&gt; {
    mix.sass('app.scss')
       .webpack('app.js');
});
</code></pre>