Update README.md

This commit is contained in:
Avad3 2024-06-17 18:20:43 -04:00 committed by GitHub
parent aac959936c
commit 1d9870e706
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,9 @@ The UI is not finalized and only used as a means to test the web proxy.
## How to build
Running `pnpm dev` will build Scramjet and start a dev server on localhost:1337. If you only want to build the proxy without using the dev server, run `pnpm build`.
TODO
## TODO
- Finish HTML rewriting
- `<script type="importmap"></script>` rewriting
- Make an array of all possible import values and pass the array onto the JS rewriter, then rewrite all the URLs inside of it
@ -18,4 +20,4 @@ TODO
- Check imports/exports for values contained in the `importmap` array, don't rewrite the node value if present
- Fix CSS rewriting
- CSS rewriting only rewrites the `url()` function, but `@import` rules can import urls using just a string: https://developer.mozilla.org/en-US/docs/Web/CSS/@import
- Write client APIs
- Write client APIs