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:
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user