@adaliszk/react-compiler
TypeScript icon, indicating that this package has built-in type declarations

0.5.2 • Public • Published

Configuration for React-based project compilation using Vite

Provides

Pre-configured Vite with:

  • @adaliszk/web-compiler
  • React

Usage

  1. Install the package pnpm install --dev @adaliszk/react-compiler
  2. Configure vite for development and bundling:
    import { reactConfig } from '@adaliszk/react-compiler'
    
    export default reactConfig()
  3. Add vite commands to your scope:
    {
     "scripts": {
       "build": "react-compiler build",
       "preview": "react-compiler preview",
       "start": "react-compiler"
     }
    }

Package Sidebar

Install

npm i @adaliszk/react-compiler

Weekly Downloads

104

Version

0.5.2

License

BSD-2-Clause

Unpacked Size

10.3 kB

Total Files

10

Last publish

Collaborators

  • adaliszk