Let's say I've 2 Vue.js apps: app1 and app2.
Both implement the single file component approach and are built by webpack into the respective /dist/build.js .
Now I've the need to use in the app2 a component that was developed inside the app1, so I wonder: is there a way to instruct webpack to not build the entire app1 into a single /dist/build.js, but instead to produce N different "builded" js files to separate reusable components so that I can, for example, take the app1/dist/components.build.js and import in some way directly into app2 without phisically copy the .vue files in there?
I'm pretty new to Vue and Webpack, so I'm not even sure the question makes sense at all...