Import functions from a different file on my peertube plugin

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.


If you import functions in your client files, you need to use webpack to build the client bundle:

1 Like