aboutsummaryrefslogtreecommitdiff
path: root/playground/src/admin/vite.config.example.ts
blob: 85f6982bdda06b9045447fd274332fe8d395f19a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import { mergeConfig, type UserConfig } from 'vite';

export default (config: UserConfig) => {
  // Important: always return the modified config
  return mergeConfig(config, {
    resolve: {
      alias: {
        '@': '/src',
      },
    },
  });
};