nitro-nightly 3.0.1-20251127-003817-dd47a8df → 3.0.1-20251201-104553-0f08396c
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/rolldown.mjs +1 -1
- package/dist/_build/rollup.mjs +12 -12
- package/dist/_build/vite.build.mjs +2 -2
- package/dist/_build/vite.plugin.mjs +2 -2
- package/dist/_chunks/{BT4o98A6.mjs → Qe19FNKf.mjs} +658 -520
- package/dist/_chunks/{QnObqKaP.mjs → _yl3G_3Y.mjs} +41 -70
- package/dist/_dev.mjs +4 -9
- package/dist/builder.mjs +1 -1
- package/dist/presets/_nitro/runtime/nitro-dev.d.mts +1 -1
- package/dist/presets/_nitro/runtime/nitro-dev.mjs +1 -1
- package/dist/presets/_nitro/runtime/nitro-prerenderer.d.mts +1 -1
- package/dist/presets/_nitro/runtime/nitro-prerenderer.mjs +1 -1
- package/dist/presets/_nitro/runtime/service-worker.d.mts +1 -1
- package/dist/presets/_nitro/runtime/service-worker.mjs +1 -1
- package/dist/presets/aws-amplify/runtime/aws-amplify.d.mts +1 -1
- package/dist/presets/aws-amplify/runtime/aws-amplify.mjs +1 -1
- package/dist/presets/aws-lambda/runtime/aws-lambda-streaming.d.mts +1 -1
- package/dist/presets/aws-lambda/runtime/aws-lambda-streaming.mjs +1 -1
- package/dist/presets/aws-lambda/runtime/aws-lambda.d.mts +1 -1
- package/dist/presets/aws-lambda/runtime/aws-lambda.mjs +1 -1
- package/dist/presets/azure/runtime/azure-swa.d.mts +1 -1
- package/dist/presets/azure/runtime/azure-swa.mjs +1 -1
- package/dist/presets/bun/runtime/bun.d.mts +1 -1
- package/dist/presets/bun/runtime/bun.mjs +1 -1
- package/dist/presets/cloudflare/runtime/_module-handler.d.mts +1 -1
- package/dist/presets/cloudflare/runtime/_module-handler.mjs +1 -1
- package/dist/presets/cloudflare/runtime/cloudflare-durable.d.mts +1 -1
- package/dist/presets/cloudflare/runtime/cloudflare-durable.mjs +1 -1
- package/dist/presets/cloudflare/runtime/cloudflare-module.d.mts +1 -1
- package/dist/presets/cloudflare/runtime/cloudflare-module.mjs +1 -1
- package/dist/presets/cloudflare/runtime/cloudflare-pages.d.mts +1 -1
- package/dist/presets/cloudflare/runtime/cloudflare-pages.mjs +1 -1
- package/dist/presets/deno/runtime/deno-deploy.d.mts +1 -1
- package/dist/presets/deno/runtime/deno-deploy.mjs +1 -1
- package/dist/presets/deno/runtime/deno-server.d.mts +1 -1
- package/dist/presets/deno/runtime/deno-server.mjs +1 -1
- package/dist/presets/netlify/runtime/netlify-edge.d.mts +1 -1
- package/dist/presets/netlify/runtime/netlify-edge.mjs +1 -1
- package/dist/presets/netlify/runtime/netlify.d.mts +1 -1
- package/dist/presets/netlify/runtime/netlify.mjs +1 -1
- package/dist/presets/node/runtime/node-cluster.d.mts +1 -1
- package/dist/presets/node/runtime/node-cluster.mjs +1 -1
- package/dist/presets/node/runtime/node-middleware.d.mts +1 -1
- package/dist/presets/node/runtime/node-middleware.mjs +1 -1
- package/dist/presets/node/runtime/node-server.d.mts +1 -1
- package/dist/presets/node/runtime/node-server.mjs +1 -1
- package/dist/presets/standard/runtime/server.d.mts +1 -1
- package/dist/presets/standard/runtime/server.mjs +1 -1
- package/dist/presets/stormkit/runtime/stormkit.d.mts +1 -1
- package/dist/presets/stormkit/runtime/stormkit.mjs +1 -1
- package/dist/presets/vercel/runtime/vercel.node.d.mts +1 -1
- package/dist/presets/vercel/runtime/vercel.node.mjs +1 -1
- package/dist/presets/vercel/runtime/vercel.web.d.mts +1 -1
- package/dist/presets/vercel/runtime/vercel.web.mjs +1 -1
- package/dist/presets/winterjs/runtime/winterjs.d.mts +1 -1
- package/dist/presets/winterjs/runtime/winterjs.mjs +1 -1
- package/dist/presets/zeabur/runtime/zeabur.d.mts +1 -1
- package/dist/presets/zeabur/runtime/zeabur.mjs +1 -1
- package/dist/runtime/internal/vite/dev-entry.mjs +1 -1
- package/dist/types/index.d.mts +6 -4
- package/dist/vite.mjs +2 -2
- package/package.json +1 -1
package/dist/_build/rolldown.mjs
CHANGED
|
@@ -23,7 +23,7 @@ import { n as writeBuildInfo } from "./common.mjs";
|
|
|
23
23
|
import { a as watch$1 } from "../_libs/chokidar.mjs";
|
|
24
24
|
import "../_libs/estree-walker.mjs";
|
|
25
25
|
import "../_libs/plugin-commonjs.mjs";
|
|
26
|
-
import { n as getChunkName, r as baseBuildConfig, t as baseBuildPlugins } from "../_chunks/
|
|
26
|
+
import { n as getChunkName, r as baseBuildConfig, t as baseBuildPlugins } from "../_chunks/Qe19FNKf.mjs";
|
|
27
27
|
import "../_libs/remapping.mjs";
|
|
28
28
|
import "../_libs/unwasm.mjs";
|
|
29
29
|
import "../_libs/plugin-replace.mjs";
|
package/dist/_build/rollup.mjs
CHANGED
|
@@ -25,7 +25,7 @@ import { t as alias } from "../_libs/plugin-alias.mjs";
|
|
|
25
25
|
import "../_libs/estree-walker.mjs";
|
|
26
26
|
import { t as commonjs } from "../_libs/plugin-commonjs.mjs";
|
|
27
27
|
import { t as inject } from "../_libs/plugin-inject.mjs";
|
|
28
|
-
import { n as getChunkName, r as baseBuildConfig, t as baseBuildPlugins } from "../_chunks/
|
|
28
|
+
import { n as getChunkName, r as baseBuildConfig, t as baseBuildPlugins } from "../_chunks/Qe19FNKf.mjs";
|
|
29
29
|
import "../_libs/remapping.mjs";
|
|
30
30
|
import "../_libs/unwasm.mjs";
|
|
31
31
|
import "../_libs/plugin-replace.mjs";
|
|
@@ -47,26 +47,26 @@ import "../_libs/is-core-module.mjs";
|
|
|
47
47
|
import { watch } from "node:fs";
|
|
48
48
|
import { defu } from "defu";
|
|
49
49
|
import { transform } from "oxc-transform";
|
|
50
|
-
import {
|
|
50
|
+
import { minifySync } from "oxc-minify";
|
|
51
51
|
|
|
52
52
|
//#region src/build/plugins/oxc.ts
|
|
53
53
|
function oxc(options) {
|
|
54
|
-
const filter = (id) => !/node_modules/.test(id) && /\.[mj]?[jt]sx?$/.test(id);
|
|
55
54
|
return {
|
|
56
55
|
name: "nitro:oxc",
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
transform: {
|
|
57
|
+
filter: { id: /^(?!.*\/node_modules\/).*\.m?[jt]sx?$/ },
|
|
58
|
+
handler(code, id) {
|
|
59
|
+
return transform(id, code, {
|
|
60
|
+
sourcemap: options.sourcemap,
|
|
61
|
+
...options.transform
|
|
62
|
+
});
|
|
63
|
+
}
|
|
63
64
|
},
|
|
64
|
-
|
|
65
|
-
if (options.minify) return
|
|
65
|
+
renderChunk(code, chunk) {
|
|
66
|
+
if (options.minify) return minifySync(chunk.fileName, code, {
|
|
66
67
|
sourcemap: options.sourcemap,
|
|
67
68
|
...typeof options.minify === "object" ? options.minify : {}
|
|
68
69
|
});
|
|
69
|
-
return null;
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
72
|
}
|
|
@@ -13,7 +13,7 @@ import "../_libs/tinyglobby.mjs";
|
|
|
13
13
|
import "../_libs/compatx.mjs";
|
|
14
14
|
import "../_libs/klona.mjs";
|
|
15
15
|
import { r as a } from "../_libs/std-env.mjs";
|
|
16
|
-
import "../_chunks/
|
|
16
|
+
import "../_chunks/_yl3G_3Y.mjs";
|
|
17
17
|
import "../_libs/escape-string-regexp.mjs";
|
|
18
18
|
import "../_libs/tsconfck.mjs";
|
|
19
19
|
import "../_libs/dot-prop.mjs";
|
|
@@ -33,7 +33,7 @@ import "../_libs/plugin-alias.mjs";
|
|
|
33
33
|
import "../_libs/estree-walker.mjs";
|
|
34
34
|
import "../_libs/plugin-commonjs.mjs";
|
|
35
35
|
import "../_libs/plugin-inject.mjs";
|
|
36
|
-
import "../_chunks/
|
|
36
|
+
import "../_chunks/Qe19FNKf.mjs";
|
|
37
37
|
import "../_libs/remapping.mjs";
|
|
38
38
|
import "../_libs/unwasm.mjs";
|
|
39
39
|
import "../_libs/plugin-replace.mjs";
|
|
@@ -2,7 +2,7 @@ import { C as isAbsolute$1, O as relative$1, b as basename$1, h as resolveModule
|
|
|
2
2
|
import { f as sanitizeFilePath } from "../_libs/local-pkg.mjs";
|
|
3
3
|
import { t as formatCompatibilityDate } from "../_libs/compatx.mjs";
|
|
4
4
|
import { n as T, r as a } from "../_libs/std-env.mjs";
|
|
5
|
-
import { a as
|
|
5
|
+
import { a as copyPublicAssets, i as prepare, s as createNitro } from "../_chunks/_yl3G_3Y.mjs";
|
|
6
6
|
import { n as prettyPath } from "../_chunks/DJvLZH4H.mjs";
|
|
7
7
|
import { i as scanHandlers } from "../_chunks/XHOrB-Xs.mjs";
|
|
8
8
|
import { n as writeBuildInfo, t as getBuildInfo } from "./common.mjs";
|
|
@@ -10,7 +10,7 @@ import { i as NodeDevWorker, r as NitroDevApp } from "../_dev.mjs";
|
|
|
10
10
|
import { a as watch$1 } from "../_libs/chokidar.mjs";
|
|
11
11
|
import { t as alias } from "../_libs/plugin-alias.mjs";
|
|
12
12
|
import { t as inject } from "../_libs/plugin-inject.mjs";
|
|
13
|
-
import { n as getChunkName, r as baseBuildConfig, t as baseBuildPlugins } from "../_chunks/
|
|
13
|
+
import { n as getChunkName, r as baseBuildConfig, t as baseBuildPlugins } from "../_chunks/Qe19FNKf.mjs";
|
|
14
14
|
import { t as assetsPlugin } from "../_libs/vite-plugin-fullstack.mjs";
|
|
15
15
|
import consola$1 from "consola";
|
|
16
16
|
import { join, resolve } from "node:path";
|