ReacTree
ReacTree copied to clipboard
Adding support for Aliases
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