@farm.js/core 0.1.0-beta.8 → 0.1.0-beta.9
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/{chunk-SSA7THPX.mjs → chunk-65IMMCVO.mjs} +2 -2
- package/dist/{chunk-SSA7THPX.mjs.map → chunk-65IMMCVO.mjs.map} +1 -1
- package/dist/{chunk-4MGVSBRP.mjs → chunk-MKGGT7CR.mjs} +2 -2
- package/dist/{chunk-EI43C4RA.mjs → chunk-TBIEUO4O.mjs} +7 -10
- package/dist/chunk-TBIEUO4O.mjs.map +1 -0
- package/dist/index.cjs +6 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/internal/build-runtime.cjs +6 -9
- package/dist/internal/build-runtime.cjs.map +1 -1
- package/dist/internal/build-runtime.mjs +3 -3
- package/dist/plugin.mjs +2 -2
- package/dist/server.cjs +1 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.mjs +2 -2
- package/dist/version.cjs +1 -1
- package/dist/version.cjs.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.cjs.map +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-EI43C4RA.mjs.map +0 -1
- /package/dist/{chunk-4MGVSBRP.mjs.map → chunk-MKGGT7CR.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-VCANOYFI.mjs";
|
|
10
10
|
import {
|
|
11
11
|
build
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TBIEUO4O.mjs";
|
|
13
13
|
import "./chunk-SL6HTIOK.mjs";
|
|
14
14
|
import "./chunk-4S3ORGFA.mjs";
|
|
15
15
|
import {
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
parseRouteRenderingDirective,
|
|
149
149
|
resolveRouteRenderingConfig,
|
|
150
150
|
resolveRouteRenderingConfigFromFile
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-MKGGT7CR.mjs";
|
|
152
152
|
import {
|
|
153
153
|
APITypeGenerator
|
|
154
154
|
} from "./chunk-LGHEOHBU.mjs";
|
|
@@ -385,7 +385,7 @@ import {
|
|
|
385
385
|
getCurrentRequest
|
|
386
386
|
} from "./chunk-RHIFZZUI.mjs";
|
|
387
387
|
import "./chunk-LM2YNO4U.mjs";
|
|
388
|
-
import "./chunk-
|
|
388
|
+
import "./chunk-65IMMCVO.mjs";
|
|
389
389
|
import {
|
|
390
390
|
SPARouter,
|
|
391
391
|
getRouter,
|
|
@@ -15193,7 +15193,7 @@ var init_type_artifacts = __esm({
|
|
|
15193
15193
|
var version;
|
|
15194
15194
|
var init_package = __esm({
|
|
15195
15195
|
"package.json"() {
|
|
15196
|
-
version = "0.1.0-beta.
|
|
15196
|
+
version = "0.1.0-beta.9";
|
|
15197
15197
|
}
|
|
15198
15198
|
});
|
|
15199
15199
|
|
|
@@ -29305,14 +29305,11 @@ async function buildSSRInMemory(productionVite, config, root, routeManager, apiR
|
|
|
29305
29305
|
".prisma/client",
|
|
29306
29306
|
".prisma/client/default"
|
|
29307
29307
|
],
|
|
29308
|
-
//
|
|
29309
|
-
//
|
|
29310
|
-
|
|
29311
|
-
|
|
29312
|
-
|
|
29313
|
-
"better-call",
|
|
29314
|
-
...preset === "cloudflare-module" ? [] : ["react", "react-dom", "react-dom/server"]
|
|
29315
|
-
]
|
|
29308
|
+
// Node deployments must bundle application dependencies with Farm's
|
|
29309
|
+
// React runtime. Leaving a React component package external can make it
|
|
29310
|
+
// resolve a second React instance at runtime and break hooks during SSR.
|
|
29311
|
+
// Native and build-only packages above remain explicitly external.
|
|
29312
|
+
noExternal: preset === "cloudflare-module" ? ["@farm.js/core", "@farm.js/core/image", "better-call"] : true
|
|
29316
29313
|
},
|
|
29317
29314
|
define: {
|
|
29318
29315
|
__FARM_ENV__: JSON.stringify(config.env || { server: {}, public: {} }),
|