Skip to content

Commit 4a2ec28

Browse files
committed
add build sass
1 parent e9fc987 commit 4a2ec28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"vue"
2121
],
2222
"scripts": {
23-
"build": "vue-cli-service build --target lib --mode production ./src/index.ts",
23+
"build": "npm run build-app && npm run build-sass",
24+
"build-app": "vue-cli-service build --target lib --mode production ./src/index.ts",
25+
"build-sass": "node-sass --output-style compressed src/components/tree-view.scss > dist/g8-vue-tree.css",
2426
"docs": "vue-docgen",
2527
"serve": "vue-cli-service serve",
2628
"start": "npm run serve",

0 commit comments

Comments
 (0)