Skip to content

Commit 79aa4b9

Browse files
authored
Fix removing favicon and ignoring .github when packaging (#20)
1 parent be275c4 commit 79aa4b9

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.npmignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# .gitignore, because npm ignores it if this file is present.
2+
# Logs
3+
logs
4+
*.log
5+
npm-debug.log*
6+
yarn-debug.log*
7+
yarn-error.log*
8+
pnpm-debug.log*
9+
lerna-debug.log*
10+
11+
node_modules
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
26+
.vercel
27+
28+
# Custom
29+
sortablejs-*.tgz
30+
31+
# Specific to ignoring when packaging
32+
.github
33+
34+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"scripts": {
1919
"dev": "vite",
20-
"build": "vite build && vue-tsc --emitDeclarationOnly --project tsconfig.dist.json && mv dist/lib dist/types && rm -rf favicon.ico",
20+
"build": "vite build && vue-tsc --emitDeclarationOnly --project tsconfig.dist.json && mv dist/lib dist/types && rm -rf dist/favicon.ico",
2121
"build:site": "vue-tsc --noEmit --project tsconfig.site.json && vite --config vite.site.config.ts build",
2222
"preview": "vite preview",
2323
"lint": "yarn prettier --write '**/*.{ts,vue,json}'"

0 commit comments

Comments
 (0)