Skip to content

Commit

Permalink
updated the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kireerik authored Feb 18, 2024
1 parent f46eaf1 commit 0975430
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@

| `import` | | generated file |
| --- | --- | --- |
| index/ | | `static`/ |
|    • favicon`.ico` image file (imported as a Node.js module) | |    • favicon`.ico` |
|    • main`.js.js` (Node.js module) ||    • main`.js` |
|    • index`.html.jsx` (Node.js module) | |    • index`.html` |
| firebase`.json.js` (Node.js module) | | firebase.json |
| index/ | | `static`/ |
|    • favicon`.ico` (icon `file` (Node.js module)) | |    • favicon`.ico` |
|    • main`.js``.js` (Node.js `module`) ||    • main`.js` |
|    • index`.html``.jsx` (Node.js `module`) | |    • index`.html` |
| firebase`.json``.js` (Node.js `module`) | | firebase`.json` |

> The imported `file`s (which have a certain file extension (`ico`, `png`)) (Node.js) modules) copy the files themselves into the `static` folder when the modules are loaded. In module relading mode they remove them if they are not imported anymore.
> The `default` `export` of (Node.js) `module`s (which have a certain file extension (`js`, `json`, `html`) in their base file name) are written as the contents of the output files (into the `static` folder). The full file names of the output files are the base file names of the (Node.js) `module`s.
## Features
- (**H**ot) **M**odule **R**eloading using [dynohot](https://github.com/braidnetworks/dynohot)
Expand Down

0 comments on commit 0975430

Please sign in to comment.