@wyw-in-js/vite 1.1.0 → 2.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,6 +29,14 @@ export default defineConfig({
29
29
  });
30
30
  ```
31
31
 
32
+ ## Eval resolver modes
33
+
34
+ `eval.resolver: 'native'` and the native step of `eval.resolver: 'hybrid'` use `oxc-resolver` with automatic
35
+ `tsconfig.json` discovery. The Vite plugin also forwards simple string aliases from `resolve.alias`.
36
+
37
+ Use `hybrid` when evaluated imports may rely on Vite virtual modules, resolver plugins, or non-string aliases. Use `native`
38
+ only when `oxc-resolver` can resolve all evaluated imports, or mirror Vite-only aliases in `oxcOptions.resolver.alias`.
39
+
32
40
  ## Transforming libraries in `node_modules`
33
41
 
34
42
  By default, the Vite plugin skips transforming files from `node_modules` for performance.