conditional.js
function(m) {
					var conditionValue = (typeof m === "object") ?
						readMemberExpression(conditionExport, m) : m;

					if (substitution) {
						if (typeof conditionValue !== "string") {
							throw new TypeError(
								"The condition value for " +
									conditionalMatch[0] +
									" doesn't resolve to a string."
							);
						}

						name = name.replace(conditionalRegEx, conditionValue);
					}
					else {
						if (typeof conditionValue !== "boolean") {
							throw new TypeError(
								"The condition value for " +
									conditionalMatch[0] +
									" isn't resolving to a boolean."
							);
						}
						if (booleanNegation) {
							conditionValue = !conditionValue;
						}
						if (!conditionValue) {
							name = "@empty";
						} else {
							name = name.replace(conditionalRegEx, "");
						}
					}

					if (name === "@empty") {
						return normalize.call(loader, name, parentName, parentAddress, pluginNormalize);
					} else {
						// call the full normalize in case the module name
						// is an npm package (that needs to be normalized)
						return loader.normalize.call(loader, name, parentName, parentAddress, pluginNormalize);
					}
				}
function(m) {
					var conditionValue = (typeof m === "object") ?
						readMemberExpression(conditionExport, m) : m;

					if (substitution) {
						if (typeof conditionValue !== "string") {
							throw new TypeError(
								"The condition value for " +
									conditionalMatch[0] +
									" doesn't resolve to a string."
							);
						}

						name = name.replace(conditionalRegEx, conditionValue);
					}
					else {
						if (typeof conditionValue !== "boolean") {
							throw new TypeError(
								"The condition value for " +
									conditionalMatch[0] +
									" isn't resolving to a boolean."
							);
						}
						if (booleanNegation) {
							conditionValue = !conditionValue;
						}
						if (!conditionValue) {
							name = "@empty";
						} else {
							name = name.replace(conditionalRegEx, "");
						}
					}

					if (name === "@empty") {
						return normalize.call(loader, name, parentName, parentAddress, pluginNormalize);
					} else {
						// call the full normalize in case the module name
						// is an npm package (that needs to be normalized)
						return loader.normalize.call(loader, name, parentName, parentAddress, pluginNormalize);
					}
				}
function ( m ) { var conditionValue = ( typeof m === "object" ) ? readMemberExpression ( conditionExport , m ) : m ; if ( substitution ) { if ( typeof conditionValue !== "string" ) { throw new TypeError ( "The condition value for " + conditionalMatch [ 0 ] + " doesn't resolve to a string." ) ; } name = name . replace ( conditionalRegEx , conditionValue ) ; } else { if ( typeof conditionValue !== "boolean" ) { throw new TypeError ( "The condition value for " + conditionalMatch [ 0 ] + " isn't resolving to a boolean." ) ; } if ( booleanNegation ) { conditionValue = ! conditionValue ; } if ( ! conditionValue ) { name = "@empty" ; } else { name = name . replace ( conditionalRegEx , "" ) ; } } if ( name === "@empty" ) { return normalize . call ( loader , name , parentName , parentAddress , pluginNormalize ) ; } else { // call the full normalize in case the module name // is an npm package (that needs to be normalized) return loader . normalize . call ( loader , name , parentName , parentAddress , pluginNormalize ) ; } }
!steal-remove-end
!steal - remove - end