Version: 1.0.1
Bug Description
When the host option is set to true, the generated nette.json file includes:
devServer: "http://true:5173"
Steps To Reproduce
Set the host option to true and run the dev server.
Expected Behavior
Mantain localhost as default host when true is used as value,
Possible Solution
- When
true is set as host, default to localhost as the host value.
- Add a new
defaultHost option to the plugin config.
I know this is a completely new feature, but when developing with docker, the vite dev server doesn't work with standard host options.
Version: 1.0.1
Bug Description
When the
hostoption is set totrue, the generatednette.jsonfile includes:Steps To Reproduce
Set the
hostoption totrueand run the dev server.Expected Behavior
Mantain
localhostas defaulthostwhentrueis used as value,Possible Solution
trueis set ashost, default tolocalhostas thehostvalue.defaultHostoption to the plugin config.I know this is a completely new feature, but when developing with docker, the vite dev server doesn't work with standard host options.