@wyw-in-js/bun 2.0.0-alpha.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.
Files changed (2) hide show
  1. package/README.md +9 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -27,6 +27,15 @@ await Bun.build({
27
27
  });
28
28
  ```
29
29
 
30
+ ## Eval resolver modes
31
+
32
+ `eval.resolver: 'native'` and the native step of `eval.resolver: 'hybrid'` use `oxc-resolver` with automatic
33
+ `tsconfig.json` discovery.
34
+
35
+ The Bun plugin does not receive a static bundler alias map. Use `hybrid` when evaluated imports may rely on Bun-specific
36
+ resolution. Use `native` only when `oxc-resolver` can resolve all evaluated imports, or mirror Bun-only aliases in
37
+ `oxcOptions.resolver.alias`.
38
+
30
39
  ## Transforming libraries in `node_modules`
31
40
 
32
41
  By default, the Bun plugin skips transforming files from `node_modules` for performance.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@wyw-in-js/bun",
3
- "version": "2.0.0-alpha.0",
3
+ "version": "2.0.0-alpha.1",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@rollup/pluginutils": "^5.1.4",
7
7
  "bun-types": "^1.3.5",
8
- "@wyw-in-js/shared": "2.0.0-alpha.0",
9
- "@wyw-in-js/transform": "2.0.0-alpha.0"
8
+ "@wyw-in-js/shared": "2.0.0-alpha.1",
9
+ "@wyw-in-js/transform": "2.0.0-alpha.1"
10
10
  },
11
11
  "devDependencies": {
12
12
  "@types/node": "^22.0.0",