Skip to content

Commit 15c815f

Browse files
authored
Remove node_modules before creating tarball (#3603)
* Update pack * Remove node_modules before packing
1 parent 9de676a commit 15c815f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
- run: .circleci/update_version
8787
- run: npm run bundle
8888
- run: npm run build
89+
- run: rm -rf ./node_modules/
8990
- run: .circleci/pack
9091
- store_artifacts:
9192
path: /tmp/artifacts/

.circleci/pack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ FILENAME=$NAME.$FULL_VERSION.tar.gz
66

77
mkdir -p /tmp/artifacts/
88

9-
tar -zcv -f /tmp/artifacts/$FILENAME --exclude=".git" --exclude="optipng*" --exclude="cypress" --exclude="*.pyc" --exclude="*.pyo" --exclude="venv" --exclude="^node_modules" *
9+
tar -zcv -f /tmp/artifacts/$FILENAME --exclude=".git" --exclude="optipng*" --exclude="cypress" --exclude="*.pyc" --exclude="*.pyo" --exclude="venv" *

0 commit comments

Comments
 (0)