Created by: Johann-S
Throw error about Popper.js only when it's needed because some of our plugins don't use it
As I said here #24572 we throw error on global scope and it break our entire JavaScript, some of our users don't use our Dropdown or Tooltips/Popovers so they don't need to see this error because they don't need Popper.js
Will be very usefull if #24572 is merged
Fixes : #24304 (closed)