Hello, please can anyone tell me if it’s possible to abstract functions i want to use on my peertube plugin client files and import them for use? i have tried this on my own but i get error on my console when i install the plugin on my peertube installation.
Hi,
If you import functions in your client files, you need to use webpack to build the client bundle: https://docs.joinpeertube.org/#/contribute-plugins?id=build-your-plugin
1 Like