chore: stop committing CSS source maps
- Remove the .map files from git and ignore public/css/**/*.map; they
are still generated locally by 'npm run sass' / 'sass-watch'
- New 'npm run build:css': builds the committed CSS (style.css, app.css,
style.min.css) without source maps or sourceMappingURL comments
- style.min.css was out of date (missing .search_form{display:none}
after a merge); rebuilt from the current sources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
93893e73d9
commit
b399e8bc76
13 files changed
+6
-19
No files matched your search
@@ -6,6 +6,7 @@
|
||||
"build": "grunt --gruntfile Gruntfile.cjs concat uglify",
|
||||
"postinstall": "node scripts/setup-vendor.js || true",
|
||||
"sass": "sass resources/assets/sass:public/css",
|
||||
"build:css": "sass --no-source-map resources/assets/sass:public/css && sass --no-source-map --style compressed resources/assets/sass/style.scss:public/css/style.min.css",
|
||||
"sass-watch": "sass --watch resources/assets/sass:public/css",
|
||||
"sass-minify": "sass resources/assets/sass/style.scss:public/css/style.min.css --style compressed",
|
||||
"sass-minify-watch": "sass --watch resources/assets/sass/style.scss:public/css/style.min.css --style compressed",
|
||||
|
||||
Reference in new issue
Block a user