nitro-nightly 3.0.1-20260106-130706-e20c92d9 → 3.0.1-20260106-202835-5325b208

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.
Files changed (74) hide show
  1. package/dist/_build/rolldown.mjs +6 -14
  2. package/dist/_build/rollup.mjs +6 -41
  3. package/dist/_build/rollup2.mjs +56 -0
  4. package/dist/_build/shared.mjs +2 -1
  5. package/dist/_build/shared2.mjs +1 -1
  6. package/dist/_build/shared3.mjs +1 -1
  7. package/dist/_build/vite.build.mjs +1 -19
  8. package/dist/_dev.mjs +2 -1
  9. package/dist/_libs/@hiogawa/vite-plugin-fullstack.mjs +5 -1560
  10. package/dist/_libs/@jridgewell/gen-mapping.mjs +2 -304
  11. package/dist/_libs/@jridgewell/remapping.mjs +2 -1
  12. package/dist/_libs/@jridgewell/resolve-uri.mjs +166 -0
  13. package/dist/_libs/@jridgewell/sourcemap-codec.mjs +167 -0
  14. package/dist/_libs/@jridgewell/trace-mapping.mjs +141 -0
  15. package/dist/_libs/@rolldown/pluginutils.mjs +31 -0
  16. package/dist/_libs/@rollup/plugin-commonjs.mjs +33 -2636
  17. package/dist/_libs/@rollup/plugin-inject.mjs +3 -2
  18. package/dist/_libs/@rollup/plugin-json.mjs +1 -1
  19. package/dist/_libs/@rollup/plugin-node-resolve.mjs +7 -1111
  20. package/dist/_libs/@rollup/plugin-replace.mjs +2 -2
  21. package/dist/_libs/@rollup/pluginutils.mjs +241 -0
  22. package/dist/_libs/c12.mjs +63 -2513
  23. package/dist/_libs/chokidar.mjs +1 -234
  24. package/dist/_libs/commondir.mjs +22 -0
  25. package/dist/_libs/confbox.mjs +1102 -502
  26. package/dist/_libs/deepmerge.mjs +86 -0
  27. package/dist/_libs/dotenv.mjs +345 -0
  28. package/dist/_libs/estree-walker.mjs +144 -1
  29. package/dist/_libs/exsolve.mjs +1007 -0
  30. package/dist/_libs/fdir.mjs +514 -0
  31. package/dist/_libs/function-bind.mjs +63 -0
  32. package/dist/_libs/giget.mjs +1376 -2234
  33. package/dist/_libs/hasown.mjs +14 -0
  34. package/dist/_libs/is-core-module.mjs +220 -0
  35. package/dist/_libs/is-module.mjs +13 -0
  36. package/dist/_libs/is-reference.mjs +33 -0
  37. package/dist/_libs/js-tokens.mjs +382 -0
  38. package/dist/_libs/local-pkg.mjs +6 -1560
  39. package/dist/_libs/magic-string.mjs +939 -0
  40. package/dist/_libs/mlly.mjs +1415 -0
  41. package/dist/_libs/node-fetch-native.mjs +7 -0
  42. package/dist/_libs/nypm.mjs +239 -0
  43. package/dist/_libs/path-parse.mjs +47 -0
  44. package/dist/_libs/pathe.mjs +163 -2
  45. package/dist/_libs/perfect-debounce.mjs +89 -0
  46. package/dist/_libs/picomatch.mjs +1673 -0
  47. package/dist/_libs/pkg-types.mjs +197 -0
  48. package/dist/_libs/quansync.mjs +90 -0
  49. package/dist/_libs/rc9.mjs +136 -0
  50. package/dist/_libs/readdirp.mjs +237 -0
  51. package/dist/_libs/resolve.mjs +689 -0
  52. package/dist/_libs/strip-literal.mjs +51 -0
  53. package/dist/_libs/tinyexec.mjs +627 -0
  54. package/dist/_libs/tinyglobby.mjs +2 -1
  55. package/dist/_libs/unimport.mjs +42 -1575
  56. package/dist/_libs/unplugin-utils.mjs +61 -0
  57. package/dist/_libs/unplugin.mjs +1225 -0
  58. package/dist/_libs/unwasm.mjs +3 -2
  59. package/dist/_libs/webpack-virtual-modules.mjs +272 -0
  60. package/dist/_nitro.mjs +7 -4
  61. package/dist/_nitro2.mjs +3 -3
  62. package/dist/_presets.mjs +5 -3
  63. package/dist/builder.mjs +4 -4
  64. package/dist/cli/_chunks/{build.mjs → build2.mjs} +1 -1
  65. package/dist/cli/_chunks/dev.mjs +1 -1
  66. package/dist/cli/_chunks/list.mjs +1 -1
  67. package/dist/cli/_chunks/prepare.mjs +1 -1
  68. package/dist/cli/_chunks/run.mjs +1 -1
  69. package/dist/cli/index.mjs +1 -1
  70. package/dist/types/index.d.mts +4 -4
  71. package/dist/vite.mjs +1824 -19
  72. package/package.json +2 -2
  73. package/dist/_build/shared4.mjs +0 -1114
  74. package/dist/_build/vite.plugin.mjs +0 -712
@@ -1,6 +1,7 @@
1
- import { x as basename, y as resolveModulePath } from "./c12.mjs";
1
+ import { n as basename } from "./pathe.mjs";
2
+ import { t as resolveModulePath } from "./exsolve.mjs";
2
3
  import { a as genString, i as genSafeVariableName, n as genObjectFromRaw, t as genImport } from "./knitwork.mjs";
3
- import { a as MagicString } from "./@hiogawa/vite-plugin-fullstack.mjs";
4
+ import { t as MagicString } from "./magic-string.mjs";
4
5
  import { existsSync, promises } from "node:fs";
5
6
  import { fileURLToPath } from "node:url";
6
7
  import { createHash } from "node:crypto";
@@ -0,0 +1,272 @@
1
+ import { r as __require, t as __commonJSMin } from "../_rolldown.mjs";
2
+
3
+ //#region node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/virtual-stats.js
4
+ var require_virtual_stats = /* @__PURE__ */ __commonJSMin(((exports) => {
5
+ var __importDefault = exports && exports.__importDefault || function(mod) {
6
+ return mod && mod.__esModule ? mod : { "default": mod };
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.VirtualStats = void 0;
10
+ const constants_1 = __importDefault(__require("constants"));
11
+ var VirtualStats = class {
12
+ constructor(config) {
13
+ for (const key in config) {
14
+ if (!Object.prototype.hasOwnProperty.call(config, key)) continue;
15
+ this[key] = config[key];
16
+ }
17
+ }
18
+ _checkModeProperty(property) {
19
+ return (this.mode & constants_1.default.S_IFMT) === property;
20
+ }
21
+ isDirectory() {
22
+ return this._checkModeProperty(constants_1.default.S_IFDIR);
23
+ }
24
+ isFile() {
25
+ return this._checkModeProperty(constants_1.default.S_IFREG);
26
+ }
27
+ isBlockDevice() {
28
+ return this._checkModeProperty(constants_1.default.S_IFBLK);
29
+ }
30
+ isCharacterDevice() {
31
+ return this._checkModeProperty(constants_1.default.S_IFCHR);
32
+ }
33
+ isSymbolicLink() {
34
+ return this._checkModeProperty(constants_1.default.S_IFLNK);
35
+ }
36
+ isFIFO() {
37
+ return this._checkModeProperty(constants_1.default.S_IFIFO);
38
+ }
39
+ isSocket() {
40
+ return this._checkModeProperty(constants_1.default.S_IFSOCK);
41
+ }
42
+ };
43
+ exports.VirtualStats = VirtualStats;
44
+ }));
45
+
46
+ //#endregion
47
+ //#region node_modules/.pnpm/webpack-virtual-modules@0.6.2/node_modules/webpack-virtual-modules/lib/index.js
48
+ var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
49
+ const path_1 = (exports && exports.__importDefault || function(mod) {
50
+ return mod && mod.__esModule ? mod : { "default": mod };
51
+ })(__require("path"));
52
+ const virtual_stats_1 = require_virtual_stats();
53
+ let inode = 45e6;
54
+ const ALL = "all";
55
+ const STATIC = "static";
56
+ const DYNAMIC = "dynamic";
57
+ function checkActivation(instance) {
58
+ if (!instance._compiler) throw new Error("You must use this plugin only after creating webpack instance!");
59
+ }
60
+ function getModulePath(filePath, compiler) {
61
+ return path_1.default.isAbsolute(filePath) ? filePath : path_1.default.join(compiler.context, filePath);
62
+ }
63
+ function createWebpackData(result) {
64
+ return (backendOrStorage) => {
65
+ if (backendOrStorage._data) {
66
+ const curLevelIdx = backendOrStorage._currentLevel;
67
+ return {
68
+ result,
69
+ level: backendOrStorage._levels[curLevelIdx]
70
+ };
71
+ }
72
+ return [null, result];
73
+ };
74
+ }
75
+ function getData(storage, key) {
76
+ if (storage._data instanceof Map) return storage._data.get(key);
77
+ else if (storage._data) return storage.data[key];
78
+ else if (storage.data instanceof Map) return storage.data.get(key);
79
+ else return storage.data[key];
80
+ }
81
+ function setData(backendOrStorage, key, valueFactory) {
82
+ const value = valueFactory(backendOrStorage);
83
+ if (backendOrStorage._data instanceof Map) backendOrStorage._data.set(key, value);
84
+ else if (backendOrStorage._data) backendOrStorage.data[key] = value;
85
+ else if (backendOrStorage.data instanceof Map) backendOrStorage.data.set(key, value);
86
+ else backendOrStorage.data[key] = value;
87
+ }
88
+ function getStatStorage(fileSystem) {
89
+ if (fileSystem._statStorage) return fileSystem._statStorage;
90
+ else if (fileSystem._statBackend) return fileSystem._statBackend;
91
+ else throw new Error("Couldn't find a stat storage");
92
+ }
93
+ function getFileStorage(fileSystem) {
94
+ if (fileSystem._readFileStorage) return fileSystem._readFileStorage;
95
+ else if (fileSystem._readFileBackend) return fileSystem._readFileBackend;
96
+ else throw new Error("Couldn't find a readFileStorage");
97
+ }
98
+ function getReadDirBackend(fileSystem) {
99
+ if (fileSystem._readdirBackend) return fileSystem._readdirBackend;
100
+ else if (fileSystem._readdirStorage) return fileSystem._readdirStorage;
101
+ else throw new Error("Couldn't find a readDirStorage from Webpack Internals");
102
+ }
103
+ function getRealpathBackend(fileSystem) {
104
+ if (fileSystem._realpathBackend) return fileSystem._realpathBackend;
105
+ }
106
+ var VirtualModulesPlugin = class {
107
+ constructor(modules) {
108
+ this._compiler = null;
109
+ this._watcher = null;
110
+ this._staticModules = modules || null;
111
+ }
112
+ getModuleList(filter = ALL) {
113
+ var _a, _b;
114
+ let modules = {};
115
+ const shouldGetStaticModules = filter === ALL || filter === STATIC;
116
+ const shouldGetDynamicModules = filter === ALL || filter === DYNAMIC;
117
+ if (shouldGetStaticModules) modules = Object.assign(Object.assign({}, modules), this._staticModules);
118
+ if (shouldGetDynamicModules) {
119
+ const finalInputFileSystem = (_a = this._compiler) === null || _a === void 0 ? void 0 : _a.inputFileSystem;
120
+ const virtualFiles = (_b = finalInputFileSystem === null || finalInputFileSystem === void 0 ? void 0 : finalInputFileSystem._virtualFiles) !== null && _b !== void 0 ? _b : {};
121
+ const dynamicModules = {};
122
+ Object.keys(virtualFiles).forEach((key) => {
123
+ dynamicModules[key] = virtualFiles[key].contents;
124
+ });
125
+ modules = Object.assign(Object.assign({}, modules), dynamicModules);
126
+ }
127
+ return modules;
128
+ }
129
+ writeModule(filePath, contents) {
130
+ if (!this._compiler) throw new Error(`Plugin has not been initialized`);
131
+ checkActivation(this);
132
+ const len = contents ? contents.length : 0;
133
+ const time = Date.now();
134
+ const date = new Date(time);
135
+ const stats = new virtual_stats_1.VirtualStats({
136
+ dev: 8675309,
137
+ nlink: 0,
138
+ uid: 1e3,
139
+ gid: 1e3,
140
+ rdev: 0,
141
+ blksize: 4096,
142
+ ino: inode++,
143
+ mode: 33188,
144
+ size: len,
145
+ blocks: Math.floor(len / 4096),
146
+ atime: date,
147
+ mtime: date,
148
+ ctime: date,
149
+ birthtime: date
150
+ });
151
+ const modulePath = getModulePath(filePath, this._compiler);
152
+ if (process.env.WVM_DEBUG) console.log(this._compiler.name, "Write virtual module:", modulePath, contents);
153
+ let finalWatchFileSystem = this._watcher && this._watcher.watchFileSystem;
154
+ while (finalWatchFileSystem && finalWatchFileSystem.wfs) finalWatchFileSystem = finalWatchFileSystem.wfs;
155
+ let finalInputFileSystem = this._compiler.inputFileSystem;
156
+ while (finalInputFileSystem && finalInputFileSystem._inputFileSystem) finalInputFileSystem = finalInputFileSystem._inputFileSystem;
157
+ finalInputFileSystem._writeVirtualFile(modulePath, stats, contents);
158
+ if (finalWatchFileSystem && finalWatchFileSystem.watcher && (finalWatchFileSystem.watcher.fileWatchers.size || finalWatchFileSystem.watcher.fileWatchers.length)) {
159
+ const fileWatchers = finalWatchFileSystem.watcher.fileWatchers instanceof Map ? Array.from(finalWatchFileSystem.watcher.fileWatchers.values()) : finalWatchFileSystem.watcher.fileWatchers;
160
+ for (let fileWatcher of fileWatchers) {
161
+ if ("watcher" in fileWatcher) fileWatcher = fileWatcher.watcher;
162
+ if (fileWatcher.path === modulePath) {
163
+ if (process.env.DEBUG) console.log(this._compiler.name, "Emit file change:", modulePath, time);
164
+ delete fileWatcher.directoryWatcher._cachedTimeInfoEntries;
165
+ fileWatcher.emit("change", time, null);
166
+ }
167
+ }
168
+ }
169
+ }
170
+ apply(compiler) {
171
+ this._compiler = compiler;
172
+ const afterEnvironmentHook = () => {
173
+ let finalInputFileSystem = compiler.inputFileSystem;
174
+ while (finalInputFileSystem && finalInputFileSystem._inputFileSystem) finalInputFileSystem = finalInputFileSystem._inputFileSystem;
175
+ if (!finalInputFileSystem._writeVirtualFile) {
176
+ const originalPurge = finalInputFileSystem.purge;
177
+ finalInputFileSystem.purge = () => {
178
+ originalPurge.apply(finalInputFileSystem, []);
179
+ if (finalInputFileSystem._virtualFiles) Object.keys(finalInputFileSystem._virtualFiles).forEach((file) => {
180
+ const data = finalInputFileSystem._virtualFiles[file];
181
+ finalInputFileSystem._writeVirtualFile(file, data.stats, data.contents);
182
+ });
183
+ };
184
+ finalInputFileSystem._writeVirtualFile = (file, stats, contents) => {
185
+ const statStorage = getStatStorage(finalInputFileSystem);
186
+ const fileStorage = getFileStorage(finalInputFileSystem);
187
+ const readDirStorage = getReadDirBackend(finalInputFileSystem);
188
+ const realPathStorage = getRealpathBackend(finalInputFileSystem);
189
+ finalInputFileSystem._virtualFiles = finalInputFileSystem._virtualFiles || {};
190
+ finalInputFileSystem._virtualFiles[file] = {
191
+ stats,
192
+ contents
193
+ };
194
+ setData(statStorage, file, createWebpackData(stats));
195
+ setData(fileStorage, file, createWebpackData(contents));
196
+ const segments = file.split(/[\\/]/);
197
+ let count = segments.length - 1;
198
+ const minCount = segments[0] ? 1 : 0;
199
+ while (count > minCount) {
200
+ const dir = segments.slice(0, count).join(path_1.default.sep) || path_1.default.sep;
201
+ try {
202
+ finalInputFileSystem.readdirSync(dir);
203
+ } catch (e) {
204
+ const time = Date.now();
205
+ const dirStats = new virtual_stats_1.VirtualStats({
206
+ dev: 8675309,
207
+ nlink: 0,
208
+ uid: 1e3,
209
+ gid: 1e3,
210
+ rdev: 0,
211
+ blksize: 4096,
212
+ ino: inode++,
213
+ mode: 16877,
214
+ size: stats.size,
215
+ blocks: Math.floor(stats.size / 4096),
216
+ atime: time,
217
+ mtime: time,
218
+ ctime: time,
219
+ birthtime: time
220
+ });
221
+ setData(readDirStorage, dir, createWebpackData([]));
222
+ if (realPathStorage) setData(realPathStorage, dir, createWebpackData(dir));
223
+ setData(statStorage, dir, createWebpackData(dirStats));
224
+ }
225
+ let dirData = getData(getReadDirBackend(finalInputFileSystem), dir);
226
+ dirData = dirData[1] || dirData.result;
227
+ const filename = segments[count];
228
+ if (dirData.indexOf(filename) < 0) {
229
+ const files = dirData.concat([filename]).sort();
230
+ setData(getReadDirBackend(finalInputFileSystem), dir, createWebpackData(files));
231
+ } else break;
232
+ count--;
233
+ }
234
+ };
235
+ }
236
+ };
237
+ const afterResolversHook = () => {
238
+ if (this._staticModules) {
239
+ for (const [filePath, contents] of Object.entries(this._staticModules)) this.writeModule(filePath, contents);
240
+ this._staticModules = null;
241
+ }
242
+ };
243
+ const version = typeof compiler.webpack === "undefined" ? 4 : 5;
244
+ const watchRunHook = (watcher, callback) => {
245
+ this._watcher = watcher.compiler || watcher;
246
+ const virtualFiles = compiler.inputFileSystem._virtualFiles;
247
+ const fts = compiler.fileTimestamps;
248
+ if (virtualFiles && fts && typeof fts.set === "function") Object.keys(virtualFiles).forEach((file) => {
249
+ const mtime = +virtualFiles[file].stats.mtime;
250
+ fts.set(file, version === 4 ? mtime : {
251
+ safeTime: mtime,
252
+ timestamp: mtime
253
+ });
254
+ });
255
+ callback();
256
+ };
257
+ if (compiler.hooks) {
258
+ compiler.hooks.afterEnvironment.tap("VirtualModulesPlugin", afterEnvironmentHook);
259
+ compiler.hooks.afterResolvers.tap("VirtualModulesPlugin", afterResolversHook);
260
+ compiler.hooks.watchRun.tapAsync("VirtualModulesPlugin", watchRunHook);
261
+ } else {
262
+ compiler.plugin("after-environment", afterEnvironmentHook);
263
+ compiler.plugin("after-resolvers", afterResolversHook);
264
+ compiler.plugin("watch-run", watchRunHook);
265
+ }
266
+ }
267
+ };
268
+ module.exports = VirtualModulesPlugin;
269
+ }));
270
+
271
+ //#endregion
272
+ export { require_lib as t };
package/dist/_nitro.mjs CHANGED
@@ -1,4 +1,7 @@
1
- import { A as resolve, T as join, b as resolveModuleURL, k as relative, o as watchConfig, r as loadConfig, u as findWorkspaceDir, y as resolveModulePath } from "./_libs/c12.mjs";
1
+ import { l as relative, o as join, u as resolve } from "./_libs/pathe.mjs";
2
+ import { n as resolveModuleURL, t as resolveModulePath } from "./_libs/exsolve.mjs";
3
+ import { i as findWorkspaceDir } from "./_libs/pkg-types.mjs";
4
+ import { o as watchConfig, r as loadConfig } from "./_libs/c12.mjs";
2
5
  import { n as resolveCompatibilityDates, r as resolveCompatibilityDatesFromEnv } from "./_libs/compatx.mjs";
3
6
  import { t as klona } from "./_libs/klona.mjs";
4
7
  import { a as d, i as a } from "./_libs/std-env.mjs";
@@ -571,7 +574,7 @@ function isPkgInstalled(pkg, root) {
571
574
  }
572
575
  }
573
576
  async function installPkg(pkg, root) {
574
- const { addDevDependency } = await import("./_libs/giget.mjs").then((n) => n.i);
577
+ const { addDevDependency } = await import("./_libs/nypm.mjs").then((n) => n.t);
575
578
  return addDevDependency(pkg, { cwd: root });
576
579
  }
577
580
 
@@ -905,11 +908,11 @@ async function createNitro(config = {}, opts = {}) {
905
908
  async function build(nitro) {
906
909
  switch (nitro.options.builder) {
907
910
  case "rollup": {
908
- const { rollupBuild } = await import("./_build/rollup.mjs");
911
+ const { rollupBuild } = await import("./_build/rollup2.mjs");
909
912
  return rollupBuild(nitro);
910
913
  }
911
914
  case "rolldown": {
912
- const { rolldownBuild } = await import("./_build/rolldown.mjs");
915
+ const { rolldownBuild } = await import("./_build/rolldown.mjs").then((n) => n.t);
913
916
  return rolldownBuild(nitro);
914
917
  }
915
918
  case "vite": {
package/dist/_nitro2.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import { A as resolve, S as dirname, T as join, k as relative, w as isAbsolute, y as resolveModulePath } from "./_libs/c12.mjs";
1
+ import { a as isAbsolute, l as relative, o as join, r as dirname, t as resolveAlias, u as resolve } from "./_libs/pathe.mjs";
2
+ import { t as resolveModulePath } from "./_libs/exsolve.mjs";
2
3
  import { i as writeFile, r as resolveNitroPath, t as isDirectory } from "./_build/shared2.mjs";
3
4
  import { t as glob } from "./_libs/tinyglobby.mjs";
4
- import { o as lookupNodeModuleSubpath, s as parseNodeModulePath } from "./_libs/local-pkg.mjs";
5
- import { t as resolveAlias } from "./_libs/pathe.mjs";
5
+ import { a as lookupNodeModuleSubpath, o as parseNodeModulePath } from "./_libs/mlly.mjs";
6
6
  import { n as resolveSchema, t as generateTypes } from "./_libs/untyped.mjs";
7
7
  import { M as toExports } from "./_libs/unimport.mjs";
8
8
  import { existsSync, promises } from "node:fs";
package/dist/_presets.mjs CHANGED
@@ -1,10 +1,12 @@
1
1
  import "./_rolldown.mjs";
2
- import { A as resolve$1, S as dirname$1, T as join$1, c as findFile, f as readGitConfig, g as h, k as relative$1, l as findNearestFile, p as readPackageJSON, y as resolveModulePath } from "./_libs/c12.mjs";
3
- import { i as Q, o as gr } from "./_libs/confbox.mjs";
2
+ import { l as relative$1, o as join$1, r as dirname$1, u as resolve$1 } from "./_libs/pathe.mjs";
3
+ import { t as resolveModulePath } from "./_libs/exsolve.mjs";
4
+ import { a as Q, s as gr, u as h } from "./_libs/confbox.mjs";
5
+ import { n as findFile, o as readGitConfig, r as findNearestFile, s as readPackageJSON } from "./_libs/pkg-types.mjs";
4
6
  import { r as resolveCompatibilityDatesFromEnv, t as formatCompatibilityDate } from "./_libs/compatx.mjs";
5
7
  import { i as a, n as K, o as p } from "./_libs/std-env.mjs";
6
8
  import { i as writeFile$2, n as prettyPath$1 } from "./_build/shared2.mjs";
7
- import "./_libs/@rollup/plugin-commonjs.mjs";
9
+ import "./_libs/fdir.mjs";
8
10
  import { t as glob } from "./_libs/tinyglobby.mjs";
9
11
  import { builtinModules } from "node:module";
10
12
  import consola$1 from "consola";
package/dist/builder.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import "./_rolldown.mjs";
2
- import "./_libs/c12.mjs";
2
+ import "./_libs/dotenv.mjs";
3
3
  import { a as copyPublicAssets, c as loadOptions, i as prepare, n as runTask, o as build, r as prerender, s as createNitro, t as listTasks } from "./_nitro.mjs";
4
4
  import "./_libs/tsconfck.mjs";
5
5
  import "./_build/shared2.mjs";
6
- import "./_libs/@rollup/plugin-commonjs.mjs";
6
+ import "./_libs/fdir.mjs";
7
7
  import { n as writeTypes } from "./_nitro2.mjs";
8
8
  import "./_libs/mime.mjs";
9
9
  import "./_libs/acorn.mjs";
10
- import "./_libs/@hiogawa/vite-plugin-fullstack.mjs";
11
- import "./_libs/unimport.mjs";
10
+ import "./_libs/@jridgewell/sourcemap-codec.mjs";
11
+ import "./_libs/js-tokens.mjs";
12
12
  import { t as getBuildInfo } from "./_build/shared3.mjs";
13
13
  import { n as createDevServer } from "./_dev.mjs";
14
14
 
@@ -1,4 +1,4 @@
1
- import { A as resolve } from "../../_libs/c12.mjs";
1
+ import { u as resolve } from "../../_libs/pathe.mjs";
2
2
  import { t as defineCommand } from "../../_libs/citty.mjs";
3
3
  import { t as commonArgs } from "./common.mjs";
4
4
  import { build, copyPublicAssets, createNitro, prepare, prerender } from "nitro/builder";
@@ -1,4 +1,4 @@
1
- import { A as resolve } from "../../_libs/c12.mjs";
1
+ import { u as resolve } from "../../_libs/pathe.mjs";
2
2
  import "../../_build/shared2.mjs";
3
3
  import "../../_libs/mime.mjs";
4
4
  import "../../_build/shared3.mjs";
@@ -1,4 +1,4 @@
1
- import { A as resolve } from "../../_libs/c12.mjs";
1
+ import { u as resolve } from "../../_libs/pathe.mjs";
2
2
  import { t as defineCommand } from "../../_libs/citty.mjs";
3
3
  import { consola } from "consola";
4
4
  import { listTasks, loadOptions } from "nitro/builder";
@@ -1,4 +1,4 @@
1
- import { A as resolve } from "../../_libs/c12.mjs";
1
+ import { u as resolve } from "../../_libs/pathe.mjs";
2
2
  import { t as defineCommand } from "../../_libs/citty.mjs";
3
3
  import { t as commonArgs } from "./common.mjs";
4
4
  import { createNitro, writeTypes } from "nitro/builder";
@@ -1,4 +1,4 @@
1
- import { A as resolve } from "../../_libs/c12.mjs";
1
+ import { u as resolve } from "../../_libs/pathe.mjs";
2
2
  import { t as defineCommand } from "../../_libs/citty.mjs";
3
3
  import { consola } from "consola";
4
4
  import destr from "destr";
@@ -11,7 +11,7 @@ runMain(defineCommand({
11
11
  },
12
12
  subCommands: {
13
13
  dev: () => import("./_chunks/dev.mjs").then((r) => r.default),
14
- build: () => import("./_chunks/build.mjs").then((r) => r.default),
14
+ build: () => import("./_chunks/build2.mjs").then((r) => r.default),
15
15
  prepare: () => import("./_chunks/prepare.mjs").then((r) => r.default),
16
16
  task: () => import("./_chunks/task.mjs").then((r) => r.default)
17
17
  }
@@ -5,10 +5,6 @@ import { IncomingMessage, OutgoingMessage } from "node:http";
5
5
  import { H3Core, HTTPError, HTTPEvent, HTTPHandler, HTTPMethod, Middleware, ProxyOptions } from "h3";
6
6
  import { Duplex } from "node:stream";
7
7
  import { ServerRequest, ServerRequest as ServerRequest$1 } from "srvx";
8
- import { Preset } from "unenv";
9
- import { ConnectorName } from "db0";
10
- import { BuiltinDriverName } from "unstorage";
11
- import { JsxOptions, TransformOptions } from "oxc-transform";
12
8
  import "nitro";
13
9
  import "nitro/app";
14
10
  import "nitro/cache";
@@ -18,6 +14,10 @@ import "nitro/h3";
18
14
  import "nitro/runtime-config";
19
15
  import "nitro/storage";
20
16
  import "nitro/task";
17
+ import { Preset } from "unenv";
18
+ import { ConnectorName } from "db0";
19
+ import { BuiltinDriverName } from "unstorage";
20
+ import { JsxOptions, TransformOptions } from "oxc-transform";
21
21
  import { MinifyOptions } from "oxc-minify";
22
22
  import { InputOptions, OutputOptions } from "rollup";
23
23
  import { Nitro as Nitro$1, RunnerMessageListener as RunnerMessageListener$1 } from "nitro/types";