moduleId({ module, chunkGraph, request, weak }) {
		if (!module) {
			return this.missingModule({
				request
			});
		}
		const moduleId = chunkGraph.getModuleId(module);
		if (moduleId === null) {
			if (weak) {
				return "null /* weak dependency, without id */";
			}
			throw new Error(
				`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(
					module,
					chunkGraph
				)}`
			);
		}
		return `${this.comment({ request })}${JSON.stringify(moduleId)}`;
	}
@param {object} options options object
@param {Module} options.module the module
@param {ChunkGraph} options.chunkGraph the chunk graph
@param {string=} options.request the request that should be printed as comment
@param {boolean=} options.weak if the dependency is weak (will create a nice error message)
@returns {string} the expression