nitro-nightly 3.1.0-20251024-135426-4da5803f → 3.1.0-20251024-201544-aec6dd26
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/_chunks/plugin.mjs +5 -12
- package/package.json +1 -1
package/dist/_chunks/plugin.mjs
CHANGED
|
@@ -234,11 +234,6 @@ async function buildEnvironments(ctx, builder) {
|
|
|
234
234
|
`Building [${BuilderNames.nitro}] ${colors.dim(`(${buildInfo.map(([k, v]) => `${k}: \`${v}\``).join(", ")})`)}`
|
|
235
235
|
);
|
|
236
236
|
await copyPublicAssets(nitro);
|
|
237
|
-
await nitro.hooks.callHook(
|
|
238
|
-
"rollup:before",
|
|
239
|
-
nitro,
|
|
240
|
-
builder.environments.nitro.config.build.rollupOptions
|
|
241
|
-
);
|
|
242
237
|
await builder.build(builder.environments.nitro);
|
|
243
238
|
await nitro.close();
|
|
244
239
|
await nitro.hooks.callHook("compiled", nitro);
|
|
@@ -1544,13 +1539,11 @@ async function setupNitroContext(ctx, configEnv, userConfig) {
|
|
|
1544
1539
|
}
|
|
1545
1540
|
await ctx.nitro.hooks.callHook("build:before", ctx.nitro);
|
|
1546
1541
|
ctx.rollupConfig = await getViteRollupConfig(ctx);
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
);
|
|
1553
|
-
}
|
|
1542
|
+
await ctx.nitro.hooks.callHook(
|
|
1543
|
+
"rollup:before",
|
|
1544
|
+
ctx.nitro,
|
|
1545
|
+
ctx.rollupConfig.config
|
|
1546
|
+
);
|
|
1554
1547
|
if (ctx.nitro.options.dev && !ctx.devWorker) {
|
|
1555
1548
|
ctx.devWorker = createDevWorker(ctx);
|
|
1556
1549
|
}
|
package/package.json
CHANGED