Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for Aliases #40

Open
webdevcoach opened this issue Jun 28, 2023 · 0 comments
Open

Adding support for Aliases #40

webdevcoach opened this issue Jun 28, 2023 · 0 comments

Comments

@webdevcoach
Copy link

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 webdevcoach changed the title Adding support for vite and read vite config Adding support for Aliases Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant