Skip to content

Commit

Permalink
fix: use npmignore instead of files list to limit size
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoehnelt committed Jan 17, 2025
1 parent d519433 commit 824866f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
17 changes: 14 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
# Ignore everything
*

# Add built files
!dist/*.d.ts
!custom-elements.json
!dist/**/*.js
!dist/**/*.map
!docs/**
dist/**/*test*

# Add source files
!src/*.ts
!src/drive-picker/**/*

# Add web component specific files
!custom-elements.json

# Add documentation specific files
!SECURITY.md
!CHANGELOG.md
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
},
"./package.json": "./package.json"
},
"files": [
"dist",
"src",
"custom-elements.json"
],
"homepage": "https://github.com/googleworkspace/drive-picker-element",
"repository": {
"type": "git",
Expand Down

0 comments on commit 824866f

Please sign in to comment.