refactor: Streamline project configuration and styling

This commit simplifies the Vite configuration by removing unnecessary options like `base`, `sourcemap`, and custom `rollupOptions`. It also removes the explicit server port definition, allowing Vite to manage it.

Additionally, minor styling adjustments are made to the scrollbar in `index.html` and default values for select inputs in `AccountsPayableView` are updated for clarity. The `engines` property was removed from `package.json` as it's not strictly necessary for typical development workflows.
This commit is contained in:
MMrp89
2026-02-10 02:16:33 -03:00
parent b91517dea2
commit fd9b0674fb
5 changed files with 273 additions and 85 deletions

View File

@@ -8,20 +8,8 @@ export default defineConfig({
define: {
'process.env': process.env
},
base: '/',
build: {
outDir: 'dist',
emptyOutDir: true,
sourcemap: false,
rollupOptions: {
output: {
manualChunks: {
vendor: ['react', 'react-dom', 'recharts', 'lucide-react']
}
}
}
},
server: {
port: 3000
}
});