isEnabledForChunk = chunk => {
				const options = chunk.getEntryOptions();
				const chunkLoading =
					options && options.chunkLoading !== undefined
						? options.chunkLoading
						: globalChunkLoading;
				return chunkLoading === "import";
			}
@param {Chunk} chunk chunk to check
@returns {boolean} true, when the plugin is enabled for the chunk