UNPKG

react-otp-input

Version:

A fully customizable, one-time password input component for the web built with React

9 lines (7 loc) 247 B
import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], base: process.env.NODE_ENV === 'production' ? '/react-otp-input/' : undefined, });