Constants§
- HMR_
CLIENT_ SCRIPT - The HMR client script as a static string
Functions§
- get_
hmr_ client_ js - Serve HMR client code as a standalone JavaScript file
- inject_
hmr_ client - Inject HMR client code into an HTML response
- is_
html_ file - Checks if a file is an HTML file based on extension
- process_
html_ file - Process HTML file and inject HMR client code