@wyw-in-js/rollup 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.
- package/README.md +9 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -32,6 +32,15 @@ export default {
|
|
|
32
32
|
};
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
## Eval resolver modes
|
|
36
|
+
|
|
37
|
+
`eval.resolver: 'native'` and the native step of `eval.resolver: 'hybrid'` use `oxc-resolver` with automatic
|
|
38
|
+
`tsconfig.json` discovery.
|
|
39
|
+
|
|
40
|
+
Rollup aliases are commonly implemented by resolver plugins, so they are resolved only by the bundler fallback. Use
|
|
41
|
+
`hybrid` when evaluated imports rely on Rollup plugins. Use `native` only when `oxc-resolver` can resolve all evaluated
|
|
42
|
+
imports, or mirror plugin aliases in `oxcOptions.resolver.alias`.
|
|
43
|
+
|
|
35
44
|
### Concurrency (tsdown/rolldown)
|
|
36
45
|
|
|
37
46
|
Some Rollup-compatible bundlers may execute plugin hooks concurrently (e.g. tsdown/rolldown). To keep evaluation deterministic, `@wyw-in-js/rollup` serializes `transform()` calls by default.
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wyw-in-js/rollup",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@rollup/pluginutils": "^5.0.5",
|
|
7
|
-
"@wyw-in-js/shared": "2.0.0-alpha.
|
|
8
|
-
"@wyw-in-js/transform": "2.0.0-alpha.
|
|
7
|
+
"@wyw-in-js/shared": "2.0.0-alpha.1",
|
|
8
|
+
"@wyw-in-js/transform": "2.0.0-alpha.1"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@types/node": "^22.0.0",
|