constructor(entryOptions, initial = true) {
		if (typeof entryOptions === "string") {
			entryOptions = { name: entryOptions };
		}
		super({
			name: entryOptions.name
		});
		this.options = entryOptions;
		/** @type {Chunk=} */
		this._runtimeChunk = undefined;
		/** @type {Chunk=} */
		this._entrypointChunk = undefined;
		/** @type {boolean} */
		this._initial = initial;
	}
Creates an instance of Entrypoint.
@param {EntryOptions | string} entryOptions the options for the entrypoint (or name)
@param {boolean=} initial false, when the entrypoint is not initial loaded