Skip to content

Commit 4fe7a68

Browse files
committed
fix: Create compressed resource when build output
1 parent 68085ea commit 4fe7a68

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/purple-guests-grin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@milesight/responsive-style": patch
3+
---
4+
5+
Create compressed resource when build output

packages/style/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
},
3131
"scripts": {
3232
"dev": "sass --watch scss:dist",
33-
"build": "sass scss:dist",
33+
"build": "sass scss:dist && sass -s compressed scss/index.scss dist/index.min.css",
3434
"lint": "eslint ./scss/* ",
3535
"lint:fix": "eslint --fix ./scss/*"
3636
},

0 commit comments

Comments
 (0)