Skip to content

Commit

Permalink
Merge pull request #7 from element-plus/fix/build-script-error
Browse files Browse the repository at this point in the history
fix build script
  • Loading branch information
jw-foss authored Jul 28, 2021
2 parents e2baf8a + 008964a commit 72a70a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"dependencies": {
"@ctrl/tinycolor": "^3.4.0"
},
"files": ["dist"],
"files": ["dist", "index.js"],
"typings": "dist/src/index.d.ts",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ echo "Removing unnecessary test typings"
rm -rf dist/test

echo "Adding index.js"
cat > dist/index.js <<EOF
cat > index.js <<EOF
'use strict'
if (process.env.NODE_ENV === 'production') {
Expand Down

0 comments on commit 72a70a3

Please sign in to comment.