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.
@@ -979,6 +979,7 @@ function externals(opts) {
979
979
  conditions: opts.conditions
980
980
  });
981
981
  const tracedPaths = /* @__PURE__ */ new Set();
982
+ if (include && include.length === 0) return { name: PLUGIN_NAME };
982
983
  return {
983
984
  name: PLUGIN_NAME,
984
985
  resolveId: {
@@ -641,15 +641,21 @@ function nitroService(ctx) {
641
641
  enforce: "pre",
642
642
  sharedDuringBuild: true,
643
643
  applyToEnvironment: (env) => env.name === "nitro",
644
- resolveId: { async handler(id) {
645
- if (id === "#nitro-vite-setup") return {
646
- id,
647
- moduleSideEffects: true
648
- };
649
- } },
650
- load: { async handler(id) {
651
- if (id === "#nitro-vite-setup") return prodSetup(ctx);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitro-nightly",
3
- "version": "3.0.1-20251212-133814-37b3bbcb",
3
+ "version": "3.0.1-20251212-134656-effb2c6b",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "homepage": "https://nitro.build",
6
6
  "repository": "nitrojs/nitro",