mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
18 lines
312 B
TypeScript
18 lines
312 B
TypeScript
|
import react from '@vitejs/plugin-react';
|
||
|
import { defineConfig } from 'vite';
|
||
|
|
||
|
// https://vitejs.dev/config/
|
||
|
export default defineConfig({
|
||
|
plugins: [
|
||
|
react({
|
||
|
babel: {
|
||
|
plugins: ['macros']
|
||
|
}
|
||
|
})
|
||
|
],
|
||
|
build: {
|
||
|
manifest: true,
|
||
|
outDir: '../../InvenTree/web/static/web'
|
||
|
}
|
||
|
});
|