13 lines
273 B
TypeScript
13 lines
273 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react-swc';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
react()
|
|
],
|
|
base: './',
|
|
define: {
|
|
APP_VERSION: JSON.stringify(process.env.npm_package_version)
|
|
}
|
|
});
|