Module hmr_inject

Source

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