You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the static files are served by the webpack-dev server with the host localhost.example.com, then when you try to load the manifest using the DTS plugin, the URL is transformed into 127.0.0.1.example.com/mf-manifest.json. This results in an error:
Hello @dimohqa. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 5 days.
As the issue was labelled with need reproduction, but no response in 5 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions. For background, see Why reproductions are required.
Describe the bug
If the static files are served by the webpack-dev server with the host
localhost.example.com
, then when you try to load the manifest using the DTS plugin, the URL is transformed into127.0.0.1.example.com/mf-manifest.json
. This results in an error:This problem is solved by adding lines like this to ets/hosts:
And adding the
allowedHosts: 'all
' property to the devServerAfter that, when you try to call
https://127.0.0.1.example.com:4178/mf-manifest.json
an error occurs:Reproduction
Turn on https/ssl for example test apps
react-ts-host
andreact-ts-remote
OR
https://github.com/dimohqa/example-mf-dts-bug
Used Package Manager
npm
System Info
Validations
The text was updated successfully, but these errors were encountered: