How to removing unneeded files in framework7 directory?

There are a lot of files in framework7 directory which I think my project won’t need them, like unused components,
Q1) How do find unneeded files and how do I make sure it is safe to remove them?

Q2) IDoes framework7 has a bundle or something like combining common materials into one file?

If you use plain script and styles files and link framework7.css and framework7.js then you can remove all other files

Yes, you can use it with webpack