feat(envelope-generator-react-ui): init

This commit is contained in:
2025-07-21 15:13:16 +02:00
parent 286e17a900
commit cce240125d
242 changed files with 18884 additions and 4 deletions

View File

@@ -0,0 +1,36 @@
import path from 'path';
import checker from 'vite-plugin-checker';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react-swc';
// ----------------------------------------------------------------------
const PORT = 3039;
export default defineConfig({
plugins: [
react(),
checker({
typescript: true,
eslint: {
useFlatConfig: true,
lintCommand: 'eslint "./src/**/*.{js,jsx,ts,tsx}"',
dev: { logLevel: ['error'] },
},
overlay: {
position: 'tl',
initialIsOpen: false,
},
}),
],
resolve: {
alias: [
{
find: /^src(.+)/,
replacement: path.resolve(process.cwd(), 'src/$1'),
},
],
},
server: { port: PORT, host: true },
preview: { port: PORT, host: true },
});