File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313- Style checks: ` ./vendor/bin/pint --test `
1414- Auto-fix style (when needed): ` ./vendor/bin/pint `
1515
16+ ## Asset Minification
17+
18+ Minified assets are committed to the repository and must be regenerated whenever source assets change.
19+
20+ Run the minifier:
21+
22+ ```
23+ composer minify
24+ ```
25+
26+ Source → output mappings:
27+
28+ | Source | Output |
29+ | ---| ---|
30+ | ` src/assets/css/debug-bar-console.css ` | ` assets/css/debug-bar-console.min.css ` |
31+ | ` assets/css/iframe.css ` | ` assets/css/iframe.min.css ` |
32+ | ` src/assets/js/debug-bar-console.js ` | ` assets/js/debug-bar-console.min.js ` |
33+
34+ The CodeMirror files under ` src/assets/codemirror/ ` are third-party and loaded as-is — do not minify them.
35+
36+ The script lives in ` bin/minify.php ` and uses ` matthiasmullie/minify ` . The ` bin/ ` directory is excluded from release packages via ` .gitattributes ` .
37+
1638## Standard Change Flow
1739
18401 . Make focused changes to source/tests/docs.
You can’t perform that action at this time.
0 commit comments