- 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>
32 lines
590 B
Plaintext
32 lines
590 B
Plaintext
.phpunit.cache
|
|
node_modules
|
|
app/public/build
|
|
app/public/hot
|
|
app/public/storage
|
|
app/storage/*.key
|
|
app/bootstrap
|
|
app/storage
|
|
bootstrap/cache
|
|
vendor
|
|
.env
|
|
.env.backup
|
|
.env.production
|
|
.phpunit.result.cache
|
|
Homestead.json
|
|
Homestead.yaml
|
|
auth.json
|
|
npm-debug.log
|
|
yarn-error.log
|
|
.fleet
|
|
.idea
|
|
.vscode
|
|
update
|
|
|
|
# CSS source maps: generated locally by `npm run sass` / `sass-watch`,
|
|
# not committed (`npm run build:css` builds the committed CSS without them)
|
|
public/css/**/*.map
|
|
|
|
# Minified CSS/JS: generated by the Docker build (`npm run build:min`)
|
|
public/css/style.min.css
|
|
public/js/functions.min.js
|