vite-plugin-package-version/demo/vite.config.ts
2021-04-22 22:52:14 +02:00

12 lines
313 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()],
server: {
port: 3000,
strictPort: true,
},
});