title: Vite and React, when I try to load index.tsx with many exports, they all get executed
body: <p>So, I'm using absolute paths with <code>TS</code>, and I'm setting them up like this on Vite and React, so I can import them as follows: <code>import {...} from &quot;@app&quot;</code>, but I'm having a problem that all the modules get executed on export:</p>
  <pre><code>export * as Environments from '../configs/environments';
  export * as Meta from '../configs/meta';
  export * as Demo from '../data/demo';
  export * as Interfaces from '../ts/interfaces';
  export * as Types from '../ts/types';
  export * as Defaults from '../data/constants/defaults';
  export * as Icons from '../ui/Icons';
  export * as Themes from '../ui/themes';
  export * as Languages from '../ui/langs';
  export * as Styles from '../ui/styles';
  export * as Utils from '../utils/global';
  export * as Slices from '../data/slices';
  export * as Components from '../ui/components';
  export * as Views from '../ui/views';
  export * as Configs from '../configs/global';
  export * as Validations from '../utils/validations';
  export * as Methods from '../func/methods';
  export * as Layouts from '../ui/layouts';
  export * as Pages from '../ui/pages';
  export * as Controllers from '../func/controllers';
  export * as Lists from '../data/lists';
  export * as Middlewares from '../configs/middlewares';
  export * as Routes from '../data/routes';
  </code></pre>
  <p>And because I do have many files and stuff, over 2000 requests are made and a lot of other stuff is printed in the console, such as can't read undefined <code>_owner</code>, even if I don't use any similar value somewhere, I don't know.</p>