mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
add importmaps to todo
This commit is contained in:
parent
b43f2360a0
commit
809e69461e
1 changed files with 4 additions and 1 deletions
|
@ -12,10 +12,13 @@ TODO
|
|||
<script src="./scramjet.config.js"></script>
|
||||
<script src="./scramjet.bundle.js"></script>
|
||||
```
|
||||
- `<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
|
||||
- Fix URL rewriting
|
||||
- Pass the full the full url object arround instead of just the origin and if the url is relative append it to the url path before adding it to the origin
|
||||
- Finish JS rewriting
|
||||
- only thing rewritten currently are imports and exports
|
||||
- Only thing rewritten currently are imports and exports
|
||||
- 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
|
||||
- Rewrite `Link` header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue