@gsimone/codesandbox-vite-plugin

0.0.2 • Public • Published

@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()]
})

Readme

Keywords

none

Package Sidebar

Install

npm i @gsimone/codesandbox-vite-plugin

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

3.29 kB

Total Files

7

Last publish

Collaborators

  • gsimone