Commit Graph
5 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
Mischa Spelt 7b9674110e feat: Add npm dependencies and update vendor paths
- Add package.json dependencies: jquery, jquery-ui, moment, daterangepicker, wavesurfer.js, air-datepicker
- Create scripts/setup-vendor.js to copy npm packages to public/assets/vendor
- Update view templates to use vendor paths instead of old /js/ or CDN URLs
- Clean up legacy commented-out scripts in master layout
2026-08-25 16:17:01 +02:00
NH Gooi c8fd7e8a51 Statische pagina's via intranet 2025-07-15 15:45:09 +02:00
eric.bus c1ef2d7070 chore: add docker local development files 2024-02-27 12:06:38 +01:00
mischa.spelt f3d1c41e91 Pressroom template verwijderd, website naar root van repo 2020-03-22 15:30:52 +01:00