mirror of
https://github.com/quantum5/totp.git
synced 2025-04-24 13:41:58 -04:00
17 lines
366 B
TypeScript
17 lines
366 B
TypeScript
import {defineConfig} from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import {nodePolyfills} from 'vite-plugin-node-polyfills';
|
|
import svgr from 'vite-plugin-svgr';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
svgr(),
|
|
react(),
|
|
nodePolyfills({
|
|
include: ['buffer'],
|
|
globals: {Buffer: true},
|
|
}),
|
|
],
|
|
});
|