Commit b390a5f
committed
Add serve command to build and serve static files
- needed an http server to serve 'wasm' extension
- I typically use nginx in one-time docker container run mapped to local directory to serve files
- needed to add custom nginx config to serve "application/wasm" mime type
- interested in adding info to Yew docs, looked at website which I then looked at Rollup example source
- they recommend using python http server
- found myself on Rust WASM RFCs github page with "watch and serve" command RFC
- rustwasm/rfcs#101 parent 8aaf1e5 commit b390a5f
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments