1.2.5 • Published 1 year ago

voby-vite v1.2.5

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

Voby Vite

The official Voby plugin for Vite.

Install

npm install --save voby-vite

Usage

import {defineConfig} from 'vite';
import voby from 'voby-vite';

const config = defineConfig ({
  plugins: [
    voby ({
      hmr: { // HMR-related options
        enabled: ( process.env.NODE_ENV !== 'production' ), // Whether HMR is enabled or not
        filter: /\.(jsx|tsx)$/ // Regex matching the files containing components to enable HMR for
      }
    })
  ]
});

export default config;

License

MIT © Fabio Spampinato

1.2.5

1 year ago

1.2.0

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.0.2

2 years ago

1.1.0

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago