betaUsing HTML Entrypoint
index.html. However using an HTML file as entrypoint may be more straight-forward to many of you.
Luckily, you can do this with Poi too:
poi index.html --serve
It requires Poi 12.5.0 or above.
And you're good to go.
Process local scripts and styles
<link rel="stylesheet" href="./style.css"> <script src="./main.js"></script>
Note that only relative paths will be processed by webpack, which means you can use absolute paths like
/static/foo.css to reference external resources.
Process certain HTML attributes
It processes certain HTML attributes:
Modifing HTML entry will trigger a full reload.