@utoo/pack-shared 1.5.15 → 1.5.17-alpha.0

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/cjs/config.d.ts CHANGED
@@ -43,7 +43,8 @@ export interface MdxTransformOptions {
43
43
  export type MdxOptions = boolean | MdxTransformOptions;
44
44
  export interface ReactCompilerOptions {
45
45
  compilationMode?: "infer" | "annotation" | "all";
46
- target?: "18" | "19";
46
+ /** React version to target (default: "19"). React 17/18 require react-compiler-runtime. */
47
+ target?: "17" | "18" | "19";
47
48
  }
48
49
  export type ReactCompilerConfig = boolean | ReactCompilerOptions;
49
50
  export type TurbopackLoaderOptions = Record<string, JSONValue>;
package/esm/config.d.ts CHANGED
@@ -43,7 +43,8 @@ export interface MdxTransformOptions {
43
43
  export type MdxOptions = boolean | MdxTransformOptions;
44
44
  export interface ReactCompilerOptions {
45
45
  compilationMode?: "infer" | "annotation" | "all";
46
- target?: "18" | "19";
46
+ /** React version to target (default: "19"). React 17/18 require react-compiler-runtime. */
47
+ target?: "17" | "18" | "19";
47
48
  }
48
49
  export type ReactCompilerConfig = boolean | ReactCompilerOptions;
49
50
  export type TurbopackLoaderOptions = Record<string, JSONValue>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack-shared",
3
- "version": "1.5.15",
3
+ "version": "1.5.17-alpha.0",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "types": "esm/index.d.ts",