Skip to content

Commit

Permalink
Stop using minified CSS for ABBC3 styling
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Friedman <[email protected]>
  • Loading branch information
iMattPro committed Dec 3, 2023
1 parent 67c2a7d commit 0d0659a
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 123 deletions.
4 changes: 2 additions & 2 deletions adm/style/event/acp_posting_buttons_before.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% INCLUDEJS '@vse_abbc3/js/abbc3.min.js' %}
{% INCLUDECSS '@vse_abbc3/abbc3_common.min.css' %}
{% INCLUDECSS '@vse_abbc3/abbc3_common.css' %}
{% if S_ABBC3_BBCODES_BAR %}
{% INCLUDECSS '@vse_abbc3/abbc3_posting.min.css' %}
{% INCLUDECSS '@vse_abbc3/abbc3_posting.css' %}
{% include '@vse_abbc3/abbc3_posting_buttons.html' %}
{% endif %}
126 changes: 22 additions & 104 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 2 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"tablednd": "^1.0.5"
},
"devDependencies": {
"clean-css-cli": "^5.4.2",
"copyfiles": "^2.4.1",
"eslint": "^8.1.0",
"jshint": "^2.13.1",
Expand All @@ -15,21 +14,15 @@
"uglify-js": "^3.14.3"
},
"watch": {
"js-minify": "styles/all/template/js/abbc3.js",
"css-minify": {
"patterns": "styles/all/theme/*.css",
"extensions": "css",
"ignore": "styles/all/theme/*.min.css"
}
"js-minify": "styles/all/template/js/abbc3.js"
},
"scripts": {
"js": "npm-run-all jshint eslint js-minify",
"jshint": "jshint styles/all/template/js/abbc3.js",
"eslint": "eslint styles/all/template/js/abbc3.js",
"js-minify": "uglifyjs styles/all/template/js/abbc3.js --source-map --output styles/all/template/js/abbc3.min.js",
"css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --batch --batch-suffix '.min' styles/all/theme/*.css !styles/all/theme/*.min.css",
"copy-tablednd": "copyfiles --flat node_modules/tablednd/dist/jquery.tablednd.js node_modules/tablednd/dist/jquery.tablednd.min.js styles/all/template/js",
"build": "npm-run-all --parallel js css-minify copy-tablednd",
"build": "npm-run-all --parallel js copy-tablednd",
"watch": "npm-watch"
},
"jshintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion styles/all/template/event/overall_header_head_append.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{% INCLUDECSS '@vse_abbc3/abbc3_common.min.css' %}
{% INCLUDECSS '@vse_abbc3/abbc3_common.css' %}
{% include '@vse_abbc3/abbc3_google_fonts.html' %}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% if S_ABBC3_BBCODES_BAR %}
{% INCLUDECSS '@vse_abbc3/abbc3_posting.min.css' %}
{% INCLUDECSS '@vse_abbc3/abbc3_posting.css' %}
{% include '@vse_abbc3/abbc3_posting_buttons.html' %}
{% endif %}
2 changes: 0 additions & 2 deletions styles/all/theme/abbc3_common.min.css

This file was deleted.

1 change: 0 additions & 1 deletion styles/all/theme/abbc3_common.min.css.map

This file was deleted.

2 changes: 0 additions & 2 deletions styles/all/theme/abbc3_posting.min.css

This file was deleted.

Loading

0 comments on commit 0d0659a

Please sign in to comment.