Add .prettierignore for vendored minified JS (closes #185)
Check / check (pull_request) Skipped
Check / check (pull_request) Skipped
script/fmt passes the glob static/js/*.js to prettier, which expanded and rewrote the vendored static/js/alpine.min.js because there was no ignore file. Add .prettierignore excluding *.min.js; prettier honors it even when files are passed explicitly on the command line, so make fmt now leaves the tree byte-identical while still formatting first-party JS. Model: opus-4-8
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Vendored, minified third-party bundles must never be reformatted.
|
||||
*.min.js
|
||||
Reference in New Issue
Block a user