- 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>
63 lines
983 B
Plaintext
63 lines
983 B
Plaintext
# Dependencies (installed during the build)
|
|
**/node_modules
|
|
vendor
|
|
|
|
# Local leftovers, not part of the app (untracked)
|
|
apps
|
|
packages
|
|
|
|
# Version control & CI
|
|
.git
|
|
.gitea
|
|
.gitignore
|
|
.gitattributes
|
|
.hgignore*
|
|
|
|
# Editors / tools
|
|
.idea
|
|
.vscode
|
|
.fleet
|
|
.claude
|
|
|
|
# Environment files (configure via env vars / mounted .env)
|
|
.env
|
|
.env.*
|
|
env.example
|
|
|
|
# Docker files (not needed inside the image)
|
|
docker-compose*.yml
|
|
Dockerfile*
|
|
.dockerignore
|
|
|
|
# Tests
|
|
tests
|
|
phpunit.xml
|
|
.phpunit.cache
|
|
.phpunit.result.cache
|
|
|
|
# Frontend build tooling: Gruntfile.cjs is needed by the 'assets' build stage
|
|
webpack.mix.js
|
|
|
|
# Dev / host-only files
|
|
srv
|
|
update
|
|
mount_podcasts
|
|
fix-permissions
|
|
*.md
|
|
|
|
# Runtime state and caches from a local checkout
|
|
storage/logs/*
|
|
storage/framework/cache/*
|
|
storage/framework/sessions/*
|
|
storage/framework/views/*
|
|
storage/app/public
|
|
storage/*.key
|
|
bootstrap/cache/*.php
|
|
public/hot
|
|
public/storage
|
|
npm-debug.log
|
|
yarn-error.log
|
|
|
|
# Source maps are for local development only
|
|
public/css/**/*.map
|