Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit e399fcb

Browse files
committed
fix style management
1 parent 118ebc7 commit e399fcb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

demo/src/components/Main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ import 'normalize.css';
5252
import '../styles/global.css';
5353
import '../styles/main.css';
5454

55-
import '../../../src/styles.css';
56-
import '../../../src/theme/default.css';
55+
import '../../../src/styles.scss';
56+
import '../../../src/theme/default.scss';
5757

5858
function formatDateDisplay(date, defaultText) {
5959
if (!date) return defaultText;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"prebuild": "rm -rf dist/* & rm -rf demo/dist/*",
99
"build": "NODE_ENV=production & yarn build-library & yarn build-demo",
1010
"build-demo": "webpack -p",
11-
"build-library": "babel ./src --out-dir ./dist --ignore test.js & postcss 'src/styles.scss' -d dist & postcss 'src/theme/*.scss' -d 'dist/theme'",
11+
"build-library": "babel ./src --out-dir ./dist --ignore test.js & postcss 'src/styles.scss' -d dist --ext css & postcss 'src/theme/*.scss' -d 'dist/theme' --ext css",
1212
"lint": "eslint 'src/**/*.js'",
1313
"test": "jest"
1414
},

0 commit comments

Comments
 (0)