* Gets side effects connection state. * @param {ModuleGraph} moduleGraph the module graph * @returns {ConnectionState} how this module should be connected to referencing modules when consumed for side-effects only
(moduleGraph)
| 1998 | * @returns {ConnectionState} how this module should be connected to referencing modules when consumed for side-effects only |
| 1999 | */ |
| 2000 | getSideEffectsConnectionState(moduleGraph) { |
| 2001 | // Fresh per-walk context; re-entrant calls (e.g. |
| 2002 | // `ConcatenatedModule.getSideEffectsConnectionState` delegating back |
| 2003 | // through here) get their own and can't clobber the outer walk. |
| 2004 | return walkSideEffectsRecursive( |
| 2005 | this, |
| 2006 | moduleGraph, |
| 2007 | 0, |
| 2008 | getHarmonyImportSideEffectDependency(), |
| 2009 | { circular: false } |
| 2010 | ); |
| 2011 | } |
| 2012 | |
| 2013 | /** |
| 2014 | * Returns the source types this module can generate. |
no test coverage detected