$ nie jest definiowane w Laravel

We must delete "defer attribute"

->app.blade.php

   //this is wrong
   <script src="{{ asset('js/app.js') }}" defer></script>
   
   //this is correct
   <script src="{{ asset('js/app.js') }}" ></script>
 
 ->resources>js>app.js
 	window.$ = require("jquery")
 	window.bootstrap = require("bootstrap");

   
WinMaw