Zero dependency dev server
Fixes for Windows node_module
paths and development.
Hot reloading now works for *.html
files, not just index.html
.
es-react
.Improved import/export rewriting logic and added more test coverage.
scriptPath
and docPath
options default to the current directory if they don't exist.Fix error running in environments without a BROWSER
variable set.
scriptPath
and docPath
changes, with a fallback to refreshing the page if no handler is defined for hot reloading that path.BROWSER
environment variable can be used to control which application to open your page in, or set to none
to disable browser opening entirely. This feature is inspired by the popular create-react-app
.Exports were being rewritten incorrectly in some cases. Tests were added to cover import
and export
rewriting logic. Fixed in a04e468c3585b7a2ecef2fd5f5382871b0e347c8.
Path resolution was failing in some cases for Windows and Linux. Fixed in 2e42671697dda03e2e787fa1ddc6bb5694637acd.