vite-version/example/vite.config.ts
2021-02-13 11:38:58 +01:00

8 lines
258 B
TypeScript

import reactRefresh from '@vitejs/plugin-react-refresh';
import { defineConfig } from 'vite';
import loadVersion from 'vite-plugin-package-version';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [reactRefresh(), loadVersion()],
});