title: One Long module vs Multiple Short modules Code-Splitting
body: <p>I started prototyping my <code>modules</code> inside the <code>src</code> folder for a Javascript <code>package</code>.</p>
  <p>but I'm wondering which strategy would be better for the developers to use the package for production.</p>
  <p><strong>First strategy</strong> :</p>
  <pre><code>src
   |---scripts
          |-----comparator.js
               
  </code></pre>
  <p>Inside <code>comparator.js</code> I put all functions that handle comparison.</p>
  <pre><code>  export function lessThan(array){...}
  
    export function BigThan(array){...}
  
    export function equalTo(array){...}
    
    .....
  </code></pre>
  <p>I have many <code>lessThan</code>, many <code>BigThan</code> and so on.</p>
  <p><strong>Second Strategy</strong> :</p>
  <pre><code>      src
         |---scripts
                |---comparator
                          |---------less.js
                          |---------big.js
                          |---------equal.js
      
        
  </code></pre>
  <ul>
  <li>How do I separate my <code>modules</code> inside <code>src</code> folder?</li>
  <li>How to measure the module performance?</li>
  </ul>