mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
added basic route for production
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// frontend/src/pages/Features/Features.tsx
|
||||
// frontend/src/components/Layou/FooterLinks/Features/Features.tsx
|
||||
import React from 'react';
|
||||
|
||||
const Features: React.FC = () => {
|
||||
|
||||
@@ -61,6 +61,7 @@ export default defineConfig(({ mode }) => {
|
||||
sourcemap: isDevelopment ? 'inline' : false,
|
||||
// Generate deterministic hashes for better caching and security
|
||||
assetsDir: 'assets',
|
||||
base: mode === 'production' ? '/' : '/',
|
||||
rollupOptions: {
|
||||
output: {
|
||||
// Security: Use content hashes for cache busting and integrity
|
||||
|
||||
Reference in New Issue
Block a user