MCPcopy
hub / github.com/webpack/webpack / orderModules

Method orderModules

lib/css/CssModulesPlugin.js:853–858  ·  view source on GitHub ↗
(iter)

Source from the content-addressed store, hash-verified

851 * @returns {Module[]} ordered modules
852 */
853 const orderModules = (iter) => {
854 const modules = iter ? [...iter] : [];
855 const result = hooks.orderModules.call(chunk, modules, compilation);
856 if (result !== undefined) return result;
857 return this.getModulesInOrder(chunk, modules, compilation);
858 };
859
860 return /** @type {CssModule[]} */ ([
861 ...orderModules(

Callers

nothing calls this directly

Calls 2

getModulesInOrderMethod · 0.95
callMethod · 0.45

Tested by

no test coverage detected