Skip to content

Commit c08d3ea

Browse files
committed
change libsass -> node-sass to simplify bs5 upgrade
1 parent 05553b0 commit c08d3ea

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ all: install-hooks build/main_bs4.css all-hooks.json index.html hooks.html
44
install-hooks: venv
55
venv/bin/pre-commit install
66

7-
build/main_bs4.css: venv node_modules build scss/main_bs4.scss scss/_variables.scss
8-
venv/bin/pysassc -s compressed scss/main_bs4.scss build/main_bs4.css
7+
build/main_bs4.css: node_modules build scss/main_bs4.scss scss/_variables.scss
8+
node_modules/.bin/node-sass --output-style=compressed scss/main_bs4.scss build/main_bs4.css
99

1010
all-hooks.json: venv make_all_hooks.py all-repos.yaml
1111
venv/bin/python make_all_hooks.py

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"repository": "github.com/pre-commit/pre-commit.com",
33
"license": "MIT",
44
"dependencies": {
5-
"bootstrap": "^4.5.3"
5+
"bootstrap": "^4.5.3",
6+
"node-sass": "^6.0.0"
67
},
78
"eslintConfig": {
89
"extends": "eslint:recommended",

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
mako
2-
libsass
32
markdown-code-blocks>=3.0.0
43
markdown-to-presentation>=0.0.12
54
pre-commit>=1.21.0

0 commit comments

Comments
 (0)