nitro-nightly 3.0.1-20251212-133814-37b3bbcb → 3.0.1-20251212-134656-effb2c6b
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/shared3.mjs
CHANGED
|
@@ -641,15 +641,21 @@ function nitroService(ctx) {
|
|
|
641
641
|
enforce: "pre",
|
|
642
642
|
sharedDuringBuild: true,
|
|
643
643
|
applyToEnvironment: (env) => env.name === "nitro",
|
|
644
|
-
resolveId: {
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
}
|
|
644
|
+
resolveId: {
|
|
645
|
+
filter: { id: /^#nitro-vite-setup$/ },
|
|
646
|
+
async handler(id) {
|
|
647
|
+
if (id === "#nitro-vite-setup") return {
|
|
648
|
+
id,
|
|
649
|
+
moduleSideEffects: true
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
load: {
|
|
654
|
+
filter: { id: /^#nitro-vite-setup$/ },
|
|
655
|
+
async handler(id) {
|
|
656
|
+
if (id === "#nitro-vite-setup") return prodSetup(ctx);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
653
659
|
};
|
|
654
660
|
}
|
|
655
661
|
function createContext(pluginConfig) {
|
package/package.json
CHANGED