I am having an issue when developing MFEs which is slowing me down a bit.
Essentially when I map the MFE source to a local folder using the docker-compose.override.yml file than the container fails to start with this text.
> @edx/frontend-template-application@0.1.0 start /openedx/app
> fedx-scripts webpack-dev-server --progress
Running with resolved config:
/openedx/app/webpack.dev.config.js
No local module configuration file found. This is fine.
✖ 「wds」: webpack Dev Server Invalid Options
options.allowedHosts should be {Array} (https://webpack.js.org/configuration/dev-server/#devserverallowedhosts)
The default dev webpack.dev.config.js
file isn’t being used/mapped in this scenario.
I even copied this file to my development location but I got the same error.
Not using the override grabs the code from github and works fine.
Anyone have any tips to solve this. This does slow us down as we like to develop with the MFE in a container so we can catch/solve any issues before pushing up to our git.
Thanks.