Justin Haaheim
Copy over my latest oss cleanup changes
3459a79
raw
history blame
309 Bytes
import {defineConfig} from 'vite';
import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig(({command}) => {
let define = {};
if (command === 'serve') {
define = {
global: {},
};
}
return {
plugins: [react()],
define: define,
};
});