Skip to content

Commit

Permalink
Merge pull request #6 from element-plus/fix/build-script-error
Browse files Browse the repository at this point in the history
fix/build-script-error
  • Loading branch information
jw-foss authored Jul 28, 2021
2 parents 62594be + dd21a24 commit 83d7758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "This repository is meant for build color utils for theme customization",
"scripts": {
"build": "sh ./scripts/build.sh",
"build:js": "rollup --config ./configs/rollup.config.js",
"build:js": "yarn rollup --config ./configs/rollup.config.js",
"test": "jest",
"test:c": "jest --coverage",
"test:w": "jest --watch",
Expand Down
3 changes: 1 addition & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ echo "Using rollup to build components"
yarn build:js

echo "Removing unnecessary test typings"
rm -rf dist/dist/test

rm -rf dist/test

echo "Adding index.js"
cat > dist/index.js <<EOF
Expand Down

0 comments on commit 83d7758

Please sign in to comment.