Browse Source

Merge pull request #4832 from daniel-banciulea/master

[5.7] Fix running mix tasks error
Taylor Otwell 5 years ago
parent
commit
f9cf7ff1c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/js/bootstrap.js

+ 1 - 1
resources/js/bootstrap.js

@@ -1,6 +1,5 @@
 
 window._ = require('lodash');
-window.Popper = require('popper.js').default;
 
 /**
  * We'll load jQuery and the Bootstrap jQuery plugin which provides support
@@ -9,6 +8,7 @@ window.Popper = require('popper.js').default;
  */
 
 try {
+    window.Popper = require('popper.js').default;
     window.$ = window.jQuery = require('jquery');
 
     require('bootstrap');