Skip to content

Commit aa9ae36

Browse files
committed
fix: assests/*.css missing
close #212
1 parent 4b95ec0 commit aa9ae36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"module": "es/index",
2929
"scripts": {
3030
"build": "father doc build --storybook",
31-
"compile": "father build",
31+
"compile": "father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css",
3232
"coverage": "father test --coverage",
3333
"lint": "eslint src/ examples/ --ext .tsx,.ts,.jsx,.js",
3434
"now-build": "npm run build",
@@ -49,6 +49,7 @@
4949
"enzyme-adapter-react-16": "^1.15.1",
5050
"enzyme-to-json": "^3.4.3",
5151
"father": "^2.23.1",
52+
"less": "^3.11.1",
5253
"np": "^6.0.0",
5354
"react": "^16.10.2",
5455
"react-dom": "^16.10.2",

0 commit comments

Comments
 (0)