Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e14950b

Browse files
fix: explictly exclude node_modules/.bin from npm files
I don't know why .gitignore exclusion doesn't work for these files, but both pnpm & npm packed them, as a result they are present in the tarball: https://unpkg.com/browse/create-vue@3.14.1/template/base/node_modules/.bin/ Explicitly excluding them from the `files` field can reduce the unpacked size by quite a few KBs.
1 parent e605ee6 commit e14950b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"files": [
1111
"locales",
1212
"outfile.cjs",
13-
"template"
13+
"template",
14+
"!template/**/node_modules/.bin/*"
1415
],
1516
"engines": {
1617
"node": ">=v18.3.0"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /