@powerlines/plugin-react 0.1.46 → 0.1.48
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/dist/components/index.cjs +1 -1
- package/dist/components/index.mjs +1 -0
- package/dist/components/react-optimized.cjs +1 -8
- package/dist/components/react-optimized.mjs +1 -0
- package/dist/components-ipRi4DSE.mjs +1 -0
- package/dist/index.cjs +67 -8
- package/dist/index.mjs +64 -0
- package/dist/plugin-Gb47Xzf6.mjs +1 -0
- package/dist/react-optimized-9J3fdCI2.mjs +1 -0
- package/dist/react-optimized-BO9knQDM.cjs +1 -0
- package/dist/runtime-BbUj49s9.mjs +1 -0
- package/dist/runtime-Bp9G0scd.cjs +0 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.mjs +1 -0
- package/dist/types/plugin.cjs +1 -1
- package/dist/types/plugin.mjs +1 -0
- package/dist/types/runtime.cjs +1 -1
- package/dist/types/runtime.mjs +1 -0
- package/dist/types-CwXe_Ycf.mjs +1 -0
- package/dist/types-a8gm_IaQ.cjs +0 -0
- package/package.json +46 -35
- package/dist/chunk-FBBMZ4NC.cjs +0 -7
- package/dist/chunk-UCUR73HG.js +0 -7
- package/dist/components/index.d.cts +0 -6
- package/dist/components/index.d.ts +0 -6
- package/dist/components/index.js +0 -1
- package/dist/components/react-optimized.d.cts +0 -95
- package/dist/components/react-optimized.d.ts +0 -95
- package/dist/components/react-optimized.js +0 -8
- package/dist/fs-ECFlqnPg.d.cts +0 -378
- package/dist/fs-ECFlqnPg.d.ts +0 -378
- package/dist/index.d.cts +0 -62
- package/dist/index.d.ts +0 -62
- package/dist/index.js +0 -8
- package/dist/runtime-4U11u3by.d.ts +0 -1938
- package/dist/runtime-BW91guC1.d.cts +0 -1938
- package/dist/types/index.d.cts +0 -29
- package/dist/types/index.d.ts +0 -29
- package/dist/types/index.js +0 -1
- package/dist/types/plugin.d.cts +0 -1793
- package/dist/types/plugin.d.ts +0 -1793
- package/dist/types/runtime.d.cts +0 -35
- package/dist/types/runtime.d.ts +0 -35
- /package/dist/{types/plugin.js → components-BWLXb7a2.cjs} +0 -0
- /package/dist/{types/runtime.js → plugin-pBKbb5K9.cjs} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const e=require(`../react-optimized-BO9knQDM.cjs`);require(`../components-BWLXb7a2.cjs`),exports.ReactOptimizedBuiltin=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"../react-optimized-9J3fdCI2.mjs";import"../components-ipRi4DSE.mjs";export{e as ReactOptimizedBuiltin};
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
* ⚡ Built by Storm Software
|
|
4
|
-
*
|
|
5
|
-
*****************************************/
|
|
6
|
-
|
|
7
|
-
const v=refkey.refkey("isOptimizationEnabled");function T(n){const[{override:t},i]=core.splitProps(n,["override"]),c=context.usePowerlines();return jsxRuntime.createComponent(builtinFile.BuiltinFile,jsxRuntime.mergeProps(i,{id:"react/optimized",description:"A built-in module to provide access to environment configuration to determine React optimizations.",get imports(){return h__default.default({[`${c?.config.output.builtinPrefix}:env`]:["env","isDevelopment"]},i.imports??{})},get children(){return [jsxRuntime.createComponent(tsdoc.TSDoc,{heading:"A gating function to determine if the optimized [React compiler](https://react.dev/reference/react-compiler) source code should be used.",get children(){return [jsxRuntime.createComponent(tsdoc.TSDocLink,{children:"https://react.dev/reference/react-compiler/gating"}),jsxRuntime.createComponent(tsdoc.TSDocReturns,{children:"A boolean indicating if the React compiler's optimizations should be used."})]}}),jsxRuntime.createComponent(typescript.FunctionDeclaration,{refkey:v,async:false,export:true,name:"isOptimizationEnabled",returnType:"boolean",children:t!==void 0?core.code`return ${t};`:core.code`return !env.DISABLE_REACT_COMPILER && !isDevelopment; `})]}}))}chunkFBBMZ4NC_cjs.a(T,"ReactOptimizedBuiltin");
|
|
8
|
-
exports.ReactOptimizedBuiltin=T;
|
|
1
|
+
const e=require(`../react-optimized-BO9knQDM.cjs`);exports.ReactOptimizedBuiltin=e.t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"../react-optimized-9J3fdCI2.mjs";export{e as ReactOptimizedBuiltin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{};
|