Esp8266 ESP8266mDNS.h not found

Hi,

I’m using an adafruit huzzah esp8266 with ESP Async WebServer and webthing-arduino.

When compiling the project I get the following error:

.pio/libdeps/huzzah/webthing-arduino/ESPWebThingAdapter.h:20:10: fatal error: ESP8266mDNS.h: No such file or directory

yet the library exists here:

.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266mDNS

I added lib_ldf_mode = deep but didn’t help. But if I include the full path of ESP8266mDNS, the projects compiles fine.

Is there a way to make it work without a hardcoded path?

platformio.ini:

[env:huzzah]
platform = espressif8266
board = huzzah
framework = arduino
lib_ldf_mode = deep
lib_deps = 
	me-no-dev/ESP Async WebServer@^1.2.3
	webthingsio/webthing-arduino@^0.12.0

Thanks!

With with deep+ the same?

Worked like a charm!
Thank you @maxgerhardt