I'm trying to develop a first Web Component using the Polymer Framework: https://polymer-library.polymer-project.org/3.0/docs/devguide/feature-overview
At the end, I want to produce a Web Component which will be distributed into several Web Application.
It's not clear yet for me how I can package such a Component.
Of course I can provide a copy of all the required Javascript files and ask people to put them at the right place, etc ... But at best, I would like to compact everything in a single JS file, so that the final user of my component just had to include one script, and need to deal with one single JS file.
Is there a way to build such file? Or what is the philosophy when distributing such components?
I am not really sure what you mean by distributing. Most components are currently published on https://www.npmjs.com/. npm publish
basically creates a zip file and makes it easily installable for everyone.