fimo 0.11.0-staging.7 → 0.11.0-staging.8
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/build/vite/index.js +12 -3
- package/dist/cli/bundle.json +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/runtime/content/client/internal.js +3 -3
- package/dist/runtime/paths/get-fimo-paths.js +3 -3
- package/package.json +1 -1
- package/templates/react-router/package.json +1 -1
- package/templates/react-router/src/vite-env.d.ts +1 -1
- package/templates/react-router/vite.config.ts +1 -1
package/dist/build/vite/index.js
CHANGED
|
@@ -40,9 +40,18 @@ function bundleFimoIntoSsrPlugin() {
|
|
|
40
40
|
// internal react-query usage) get discovered mid-first-load — vite
|
|
41
41
|
// re-optimizes and 504s the in-flight generation's chunks ("Outdated
|
|
42
42
|
// Optimize Dep") and the app never mounts (blank preview; caught by
|
|
43
|
-
// content/query e2e).
|
|
44
|
-
//
|
|
45
|
-
|
|
43
|
+
// content/query e2e). react/react-dom/react-router are listed too:
|
|
44
|
+
// the template imports them, but fimo's imports of them are invisible
|
|
45
|
+
// to the scan, so leaving them to discovery makes the first optimize
|
|
46
|
+
// pass depend on which entry the browser happens to request first.
|
|
47
|
+
include: [
|
|
48
|
+
'react',
|
|
49
|
+
'react-dom',
|
|
50
|
+
'react-router',
|
|
51
|
+
'fimo/ui',
|
|
52
|
+
'fimo/react-router',
|
|
53
|
+
'@tanstack/react-query',
|
|
54
|
+
],
|
|
46
55
|
rolldownOptions: {
|
|
47
56
|
plugins: [
|
|
48
57
|
{
|