forked from mirror/chinese-colors
15 lines
325 B
JavaScript
15 lines
325 B
JavaScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import pkg from './package.json';
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
base: new URL(pkg.homepage).pathname,
|
|
server: {
|
|
port: 3006,
|
|
},
|
|
esbuild: {
|
|
drop: ['console', 'debugger'],
|
|
},
|
|
plugins: [react()],
|
|
});
|