Commit Graph
6 Commits
Author SHA1 Message Date
eric.busandClaude Opus 5.5 f7b1dbac8f Generate minified CSS/JS in the Docker build, remove unused assets
- New 'assets' stage in the Dockerfile builds style.min.css and
  functions.min.js from the sources (npm run build:min); they are no
  longer committed, so they can't go stale anymore
- Production (APP_DEBUG off) loads the minified files, local development
  the readable ones, both with a cache-busting version (AssetHelper,
  Asset::url() in the layout)
- Source maps are excluded from the image
- Remove unused assets: public/css/old, public/js/old and unused copies
  of jQuery, wavesurfer, prettyPhoto (min) and mediaplayer_with_plugins
- npm scripts: build:css (committed CSS), build:min (Docker build);
  sass-minify scripts removed
- readme: how the CSS/JS build works

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:00:35 +01:00
eric.busandClaude Opus 5.5 b399e8bc76 chore: stop committing CSS source maps
- Remove the .map files from git and ignore public/css/**/*.map; they
  are still generated locally by 'npm run sass' / 'sass-watch'
- New 'npm run build:css': builds the committed CSS (style.css, app.css,
  style.min.css) without source maps or sourceMappingURL comments
- style.min.css was out of date (missing .search_form{display:none}
  after a merge); rebuilt from the current sources

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 09:53:40 +01:00
mischa.spelt 114d0c7cd9 Add bootstrap/cache to gitignore, untrack vendor file 2026-08-25 18:38:07 -01:00
mischa.spelt 73a14e545b Update .gitignore, refresh package-lock 2026-08-25 18:32:28 -01:00
root 8125895538 Fix build failures 2026-08-18 08:27:25 -01:00
mischa.spelt 8463c6f6f1 Checkin missing files 2023-11-14 17:03:42 +01:00