Skip to content

Adding support for Aliases #40

@webdevcoach

Description

@webdevcoach

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions