vite-plugin-package-version/example/vite.config.ts

9 lines
258 B
TypeScript
Raw Normal View History

2021-02-13 20:24:24 +11:00
import reactRefresh from '@vitejs/plugin-react-refresh';
import { defineConfig } from 'vite';
2021-02-13 21:38:58 +11:00
import loadVersion from 'vite-plugin-package-version';
2021-02-13 20:24:24 +11:00
// https://vitejs.dev/config/
export default defineConfig({
2021-02-13 21:38:58 +11:00
plugins: [reactRefresh(), loadVersion()],
2021-02-13 20:24:24 +11:00
});