@gsimone/codesandbox-vite-plugin
v0.0.2
Published
Merge custom configuration needed for vite when running the process on Codesandbox Projects.
Downloads
16
Readme
@codesandbox/plugin-vite
Merge custom configuration needed for vite when running the process on Codesandbox Projects.
yarn add -D @gsimone/codesandbox-vite-plugin
Usage
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import codesandbox from '@gsimone/codesandbox-vite-plugin'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), codesandbox()]
})