Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: npmignore all of dist/ except standalone report #12855

Merged
merged 2 commits into from
Aug 4, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
assets/
build/
coverage/
dist/
proto/
docs/

Expand Down Expand Up @@ -54,6 +53,8 @@ results.html
*.lcov

# generated files needed for publish
dist/*
dist/report/*
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this lets us ignore the other files in dist/report/, which I assume we want to do

npm notice 177.4kB dist/report/bundle.js                                                               
npm notice 165.6kB dist/report/psi.js                                                                  
npm notice 74.7kB  dist/report/standalone.js                                                           
npm notice 12.3kB  dist/report/treemap.js                                                              
npm notice 188.3kB dist/report/viewer.js  

!dist/report/standalone.js

# large files
Expand Down