DPacker
A webpack module splitter & beautifier
Originally designed for discord.. but can be used for pretty much anything..
Usage
Make sure all your files are in one folder (no subfolders).
In this example, I will call it assets-canary
Simply run...
npx dpacker ./assets-canary [-b] [-d]
Flags:
-b
is optional, and will auto-beautify the JS files as they're written.
-d
is optional, and will write duplicate files if they share the ID. (By default, it ignores duplicate files as there's usually not any difference)
The files will be written into an out
folder :)