How do I pack javascript for the acp/ a widget into a single js file?
Solved
Plugin Development
-
I'm working on fixing the twitch monitor plugin, and so far I got the admin control panel working. My problem is that all the code for the acp is on the folder public/js/acp.js, so I edited that one. But I realized that the code is also on the client/acp folder, and I guess there must be some sort of build process to pack all that folder into a single javascript file. The same thing happens with the widget folder in cient/widget.
I checked to docs and I didn't find anything like that on the plugin documentation, does anyone know what the author could have used to produce those .js files?
Copyright © 2024 NodeBB | Contributors