This PR might fix an issue where resolvers don't work on deno v2.8.x (they do work on deno v2.7.x) when using `@tailwindcss/vite`. This happens when the `context.parentURL` is not actually a URL at all, and therefore the `new URL(…)` just crashes. This PR will fallback to the incoming result for files that are not passed proper URLs. Fixes: #20232 ## Test plan 1. Existing tests pass 2. Can't seem to figure out how to test this in the reproduction issue without publishing first. So going to merge this and test the insiders version instead. |
||
|---|---|---|
| .. | ||
| compile.ts | ||
| env.ts | ||
| esm-cache.loader.mts | ||
| get-module-dependencies.ts | ||
| index.cts | ||
| index.ts | ||
| instrumentation.test.ts | ||
| instrumentation.ts | ||
| normalize-path.ts | ||
| optimize.ts | ||
| require-cache.cts | ||
| require-cache.ts | ||
| source-maps.test.ts | ||
| source-maps.ts | ||
| urls.test.ts | ||
| urls.ts | ||