Webpack is not called when installing plugin
There is a npm build script calling webpack to generate dist/common-client-plugin.js file.
But the dist folder is in .gitignore. And it seems that the npm run build
command is not called when installing the plugin.
So, the file is missing and I get a 404 error.
What is the correct way ? Should peertube launch the build on install? (when the script is configured in package.json). Or should we remove the dist folder from .gitignore, and build the script before publishing on npm? I prefer the first solution.