mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-06 07:53:54 +00:00
562cb769c5
* refactor(vite): add dependencies * refactor(vite): necessary code migrations * refactor(vite): convert file to tsx * refactor(vite): config * refactor(vite): doctype casing
20 lines
436 B
JavaScript
20 lines
436 B
JavaScript
import react from '@vitejs/plugin-react';
|
|
import { defineConfig } from 'vite';
|
|
import svgrPlugin from 'vite-plugin-svgr';
|
|
import viteTsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), viteTsconfigPaths(), svgrPlugin()],
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
test: {
|
|
globals: true,
|
|
setupFiles: './src/setupTests.js',
|
|
environment: 'jsdom',
|
|
},
|
|
build: {
|
|
outDir: './build'
|
|
}
|
|
});
|