Add a configuration property to include ALL configured modules
Author: ghostCreated Mar 9, 2015Updated Sep 9, 2023
I have quite a bunch of modules and want to build a single file that contains all of those modules.
The hard part is, that the modules don't require each other necessarily.
That means, that when I use require.js to build this file, it only includes the modules required by my main file, but not the others that are configured.
I do not want to add the modules manually to the build file, as this will effectively be redundant. I already defined the modules in my main file.
Can you please introduce an option that makes require.js include all configured modules when building?
Source: requirejs/requirejs