mirror of
https://github.com/m1ngsama/chat-bubbles-for-yt.git
synced 2025-12-24 10:51:21 +00:00
* upgrade react and convert to typescript project * adds some typing to the useMessages hook * changes dev server port back to previous default * adds types to all files * moves static prop to inner div as it's prevent text wrapping the bubble. `style` is not a valid motion.div prop. * fixes bouncing bubbles on when disappearing. * organizes imports * revert unintended change of timeout length
10 lines
198 B
TypeScript
10 lines
198 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react-swc'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3000
|
|
},
|
|
plugins: [react()]
|
|
})
|