From 809e69461eb7841918d28a7ea74a247f6e2ca3b7 Mon Sep 17 00:00:00 2001 From: Avad3 <65318266+Avad3@users.noreply.github.com> Date: Mon, 13 May 2024 00:14:18 -0400 Subject: [PATCH] add importmaps to todo --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ccb176c..3c362cf 100644 --- a/README.md +++ b/README.md @@ -12,10 +12,13 @@ TODO ``` + - `` 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