title: How to use laravel mix define global javascript function
body: <p>I already have a function in resources/assets/js/common/utils.js</p>
  
  <pre><code>'use strict'
  
  function test(){
     console.log('test');
  }
  </code></pre>
  
  <p>How can I define utils.js as a global file and to be use any where?
  Thanks for read my question!</p>