remove: obsolete HTML template processing system
- Remove index.html.template (template processing never implemented) - Fix empty title in index.html by adding proper default title - Update documentation to remove references to non-existent: - scripts/process-html.sh - predev/prebuild npm scripts - HTML template processing workflow - Simplifies build process and fixes broken page title
This commit is contained in:
@@ -8,8 +8,7 @@ rxminder/
|
||||
├── 📦 package.json # Dependencies and scripts
|
||||
├── ⚙️ vite.config.ts # Build configuration
|
||||
├── 📝 tsconfig.json # TypeScript configuration
|
||||
├── 🎨 index.html # Generated entry point
|
||||
├── 🎨 index.html.template # Template for HTML generation
|
||||
├── 🎨 index.html # Application entry point
|
||||
├── 🔒 .env.example # Environment template
|
||||
├── 📊 metadata.json # Project metadata
|
||||
├── 🖼️ banner.jpeg # Project banner image
|
||||
@@ -99,7 +98,6 @@ rxminder/
|
||||
│
|
||||
├── 📁 scripts/ # Development and build scripts
|
||||
│ ├── 🔧 setup.sh # Development setup
|
||||
│ ├── 🎨 process-html.sh # HTML template processing
|
||||
│ ├── 🧹 setup-pre-commit.sh # Git hooks setup
|
||||
│ └── 🌱 seed-production.js # Database seeding
|
||||
│
|
||||
@@ -207,9 +205,9 @@ Centralized configuration with environment-based templates:
|
||||
config/
|
||||
└── unified.config.ts # Single source of truth
|
||||
|
||||
# Template approach
|
||||
index.html.template → index.html # Processed with environment variables
|
||||
# Configuration approach
|
||||
.env.example → .env # User customization
|
||||
config/unified.config.ts # Centralized configuration
|
||||
```
|
||||
|
||||
**Benefits:**
|
||||
@@ -274,7 +272,6 @@ docs/
|
||||
2. **Template Processing**
|
||||
|
||||
```bash
|
||||
bun run predev # Process HTML templates
|
||||
bun run dev # Start development server
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user