ReacTree icon indicating copy to clipboard operation
ReacTree copied to clipboard

Adding support for Aliases

Open webdevcoach opened this issue 1 year ago • 0 comments

Repos which use this kind of alias in vite config below

export default defineConfig(({ mode }) => {
  const env = loadEnv(mode, process.cwd(), '');
  console.debug('print current base path', env.BASE_PATH);
  return {
    base: env.BASE_PATH || '/',
    plugins: [react()],
    resolve: {
      **```
alias: {
        '@': path.resolve(__dirname, './'),
      },
```**
    },

is not readable and parseble by tools, adding support for vite , would be great

webdevcoach avatar Jun 28 '23 12:06 webdevcoach