Configure CSS as generated asset, not committed to git
- Added public/style.css to .gitignore - Removed style.css from git tracking (git rm --cached) - Enhanced package.json scripts for better CSS workflow: - postinstall: Auto-builds CSS on npm install - build-css:dev: Development build with source maps - start: Now builds CSS before starting server - dev: Builds CSS before development mode - Updated README with CSS development documentation - Explains SCSS organization and build process - Documents all CSS-related npm scripts Benefits: ✅ Cleaner repository (no generated files) ✅ Prevents merge conflicts in generated CSS ✅ Automatic CSS generation on new machine setup ✅ Source of truth is SCSS files only ✅ Consistent build process across environments
This commit is contained in:
parent
23a06a5e84
commit
9716fe9f1d
4 changed files with 31 additions and 7 deletions
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue