function tryResolveOptionalLoader(name) {
		try {
			return require.resolve(name);
		} catch (e) {
			return name;
		}
	}
@param {import('../../../types').Env} env
@returns {import('webpack').Configuration}