Decompile optimized Requirejs file

As soon as the js application (built from many separate modules) is optimized (using the Requirejs optimization tool so that all the code is in one separate file); Is it possible to decompile / disable the file back into separate modules, as it was before optimization?

The use case will be a scenario (even if it’s hard to implement) where you have lost the source code but have access to the optimized js file. Are there any ways / methods to automatically split modules into js instead of doing it manually?

+4
source share

All Articles