/* eslint-disable import/no-extraneous-dependencies */

import { defineConfig } from 'vite';
import tsconfigPaths from 'vite-tsconfig-paths';

// https://vitejs.dev/config/
export default defineConfig(() => {
  return {
    resolve: {
      alias: {
        crypto: 'node:crypto',
      },
    },
    plugins: [tsconfigPaths()],
    server: {
      hmr: false,
    },
  };
});
