Skip to content

Instantly share code, notes, and snippets.

View Domains18's full-sized avatar
🎓
Learning Rust

Alpha User Domains18

🎓
Learning Rust
  • Nerds Catapult
  • Kenya
  • 16:53 (UTC +03:00)
View GitHub Profile
@Domains18
Domains18 / vite.config.js
Last active September 3, 2023 07:48
enabling use of js in vite instead of default jsx
import { defineConfig, transformWithEsbuild } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
// Workaround
{