@analogjs/platform 3.0.0-beta.57 → 3.0.0-beta.59
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/migrations/migrate-setup-testbed-browser-mode/migrate-setup-testbed-browser-mode.js +1 -2
- package/migrations/migrate-to-separated-plugins/migrate-to-separated-plugins.js +1 -2
- package/migrations/migrate-vitest-builder-aliases/migrate-vitest-builder-aliases.js +1 -2
- package/migrations/utils/source-edits.js +1 -2
- package/package.json +6 -6
- package/src/index.js +2 -3
- package/src/lib/analog-integration-plugin.js +1 -2
- package/src/lib/clear-client-page-endpoint.js +2 -3
- package/src/lib/content/marked/index.js +1 -2
- package/src/lib/content/marked/marked-content-highlighter.js +1 -2
- package/src/lib/content/marked/marked-setup.service.js +1 -2
- package/src/lib/content/prism/angular.js +1 -2
- package/src/lib/content/prism/index.js +1 -2
- package/src/lib/content/prism/prism-highlighter.js +1 -2
- package/src/lib/content/shiki/index.js +1 -2
- package/src/lib/content/shiki/shiki-highlighter.js +2 -3
- package/src/lib/content/utils/escape-html.js +1 -2
- package/src/lib/content-plugin.js +1 -2
- package/src/lib/deps-plugin.js +2 -3
- package/src/lib/discover-library-routes.js +1 -2
- package/src/lib/get-page-endpoints.js +1 -2
- package/src/lib/inject-server-fn-ids.js +1 -2
- package/src/lib/nitro/analog-nitro-plugin.js +3 -4
- package/src/lib/nitro/angular-linker-plugin.js +1 -2
- package/src/lib/nitro/build-sitemap.js +1 -2
- package/src/lib/nitro/debug.js +1 -2
- package/src/lib/nitro/get-content-files.js +1 -2
- package/src/lib/nitro/get-page-handlers.js +1 -2
- package/src/lib/nitro/get-server-fn-handlers.js +1 -2
- package/src/lib/nitro/i18n-prerender.js +1 -2
- package/src/lib/nitro/page-endpoints-plugin.js +1 -2
- package/src/lib/nitro/post-rendering-hook.js +1 -2
- package/src/lib/nitro/renderers.js +1 -2
- package/src/lib/nitro/server-fn-endpoints.js +1 -2
- package/src/lib/nx-plugin/_virtual/_rolldown/runtime.js +1 -2
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/camelCase.js +1 -2
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/camelCase.js.map +1 -1
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/capitalize.js +1 -2
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/capitalize.js.map +1 -1
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/words.js +1 -2
- package/src/lib/nx-plugin/node_modules/.pnpm/es-toolkit@1.45.1/node_modules/es-toolkit/dist/string/words.js.map +1 -1
- package/src/lib/nx-plugin/src/builders/vite/vite-build.js +1 -2
- package/src/lib/nx-plugin/src/builders/vite/vite-build.js.map +1 -1
- package/src/lib/nx-plugin/src/builders/vite-dev-server/dev-server.js +1 -2
- package/src/lib/nx-plugin/src/builders/vite-dev-server/dev-server.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/compat.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/compat.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/generator.js +2 -3
- package/src/lib/nx-plugin/src/generators/app/generator.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-agent-context.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-agent-context.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-analog-project-config.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-analog-project-config.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-angular-app.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-angular-app.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-files.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-files.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-home-page.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-home-page.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-config.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-config.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-helpers.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/lib/add-tailwind-helpers.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/lib/cleanup-files.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/lib/update-index-html.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/lib/update-index-html.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/versions/minimum-supported-versions.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/versions/minimum-supported-versions.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/versions/tailwind-dependencies.js +1 -2
- package/src/lib/nx-plugin/src/generators/app/versions/tailwind-dependencies.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/app/versions/versions.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/compat.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/compat.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/generator.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/generator.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/add-analog-dependencies.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/add-analog-dependencies.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-app-tsconfig.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-app-tsconfig.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-build-target.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-build-target.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-git-ignore.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-index-html.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-index-html.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-main.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-main.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-package-json.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-package-json.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-serve-target.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-serve-target.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-target.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-target.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-tsconfig.js +1 -2
- package/src/lib/nx-plugin/src/generators/init/lib/update-test-tsconfig.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/page/compat.js +1 -2
- package/src/lib/nx-plugin/src/generators/page/compat.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/page/generator.js +1 -2
- package/src/lib/nx-plugin/src/generators/page/generator.js.map +1 -1
- package/src/lib/nx-plugin/src/generators/preset/generator.js +1 -2
- package/src/lib/nx-plugin/src/generators/preset/generator.js.map +1 -1
- package/src/lib/nx-plugin/src/utils/version-utils.js +1 -2
- package/src/lib/nx-plugin/src/utils/version-utils.js.map +1 -1
- package/src/lib/nx-plugin/src/utils/versions/dependencies.js +1 -2
- package/src/lib/nx-plugin/src/utils/versions/dependencies.js.map +1 -1
- package/src/lib/nx-plugin/src/utils/versions/dev-dependencies.js +1 -2
- package/src/lib/nx-plugin/src/utils/versions/dev-dependencies.js.map +1 -1
- package/src/lib/nx-plugin/src/utils/versions/versions.d.ts +6 -6
- package/src/lib/nx-plugin/src/utils/versions/versions.js +7 -8
- package/src/lib/nx-plugin/src/utils/versions/versions.js.map +1 -1
- package/src/lib/platform-plugin.js +1 -2
- package/src/lib/route-file-discovery.js +1 -2
- package/src/lib/route-idiom-diagnostics.js +1 -2
- package/src/lib/route-manifest.js +1 -2
- package/src/lib/router-plugin.js +1 -2
- package/src/lib/server-fn-client-transform.js +1 -2
- package/src/lib/server-fn-id.js +1 -2
- package/src/lib/server-plugin.js +1 -2
- package/src/lib/ssr/defer-streaming-plugin.js +0 -1
- package/src/lib/ssr/inject-html-plugin.js +1 -2
- package/src/lib/ssr/ssr-build-plugin.js +1 -2
- package/src/lib/typed-routes-plugin.js +1 -2
- package/src/lib/utils/debug-harness.js +1 -2
- package/src/lib/utils/debug-log-file.js +1 -2
- package/src/lib/utils/debug.js +1 -2
- package/src/lib/utils/rolldown.js +1 -2
- package/src/server-mode-plugin.js +1 -2
|
@@ -13,7 +13,7 @@ import { analogNitroPlugin } from "./nitro/analog-nitro-plugin.js";
|
|
|
13
13
|
import { serverPlugin } from "./server-plugin.js";
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
import { join } from "node:path";
|
|
16
|
-
|
|
16
|
+
// packages/platform/src/lib/platform-plugin.ts
|
|
17
17
|
/**
|
|
18
18
|
* The installed `@angular/core` major version, resolved from the workspace root
|
|
19
19
|
* (where the app's Angular is installed). Returns `null` when it cannot be
|
|
@@ -77,7 +77,6 @@ function platformPlugin(opts = {}) {
|
|
|
77
77
|
clearClientPageEndpointsPlugin()
|
|
78
78
|
];
|
|
79
79
|
}
|
|
80
|
-
//#endregion
|
|
81
80
|
export { platformPlugin };
|
|
82
81
|
|
|
83
82
|
//# sourceMappingURL=platform-plugin.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolve } from "node:path";
|
|
2
2
|
import { normalizePath } from "vite";
|
|
3
3
|
import { globSync } from "tinyglobby";
|
|
4
|
-
|
|
4
|
+
// packages/platform/src/lib/route-file-discovery.ts
|
|
5
5
|
function createRouteFileDiscovery(options) {
|
|
6
6
|
const { root, workspaceRoot, additionalPagesDirs, additionalContentDirs } = options;
|
|
7
7
|
let routeFilesCache = /* @__PURE__ */ new Set();
|
|
@@ -111,7 +111,6 @@ function createRouteFileDiscovery(options) {
|
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
//#endregion
|
|
115
114
|
export { createRouteFileDiscovery };
|
|
116
115
|
|
|
117
116
|
//# sourceMappingURL=route-file-discovery.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { relative } from "node:path";
|
|
2
2
|
import { normalizePath } from "vite";
|
|
3
3
|
import { parseSync } from "oxc-parser";
|
|
4
|
-
|
|
4
|
+
// packages/platform/src/lib/route-idiom-diagnostics.ts
|
|
5
5
|
var PAGE_FILE_RE = /\.page\.ts$/;
|
|
6
6
|
var ROUTER_OUTLET_RE = /\bRouterOutlet\b|<router-outlet(?:\s|>)/;
|
|
7
7
|
var WRAPPER_EXPRESSIONS = /* @__PURE__ */ new Set([
|
|
@@ -150,7 +150,6 @@ function unwrapExpression(node) {
|
|
|
150
150
|
while (node && WRAPPER_EXPRESSIONS.has(node.type)) node = node.expression;
|
|
151
151
|
return node;
|
|
152
152
|
}
|
|
153
|
-
//#endregion
|
|
154
153
|
export { analyzeAnalogRouteFile, formatAnalogRouteIdiomDiagnostic };
|
|
155
154
|
|
|
156
155
|
//# sourceMappingURL=route-idiom-diagnostics.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// packages/platform/src/lib/route-manifest.ts
|
|
2
2
|
/**
|
|
3
3
|
* Converts a discovered filename to a route path pattern.
|
|
4
4
|
*
|
|
@@ -294,7 +294,6 @@ function computeLocalPath(fullPath, parentFullPath) {
|
|
|
294
294
|
if (!parentFullPath) return fullPath.slice(1);
|
|
295
295
|
return fullPath.slice(parentFullPath.length).replace(/^\/+/, "") || "/";
|
|
296
296
|
}
|
|
297
|
-
//#endregion
|
|
298
297
|
export { extractRouteParams, filenameToRouteId, filenameToRoutePath, generateRouteManifest, generateRouteTableDeclaration };
|
|
299
298
|
|
|
300
299
|
//# sourceMappingURL=route-manifest.js.map
|
package/src/lib/router-plugin.js
CHANGED
|
@@ -3,7 +3,7 @@ import { isAbsolute, relative, resolve } from "node:path";
|
|
|
3
3
|
import { readFileSync } from "node:fs";
|
|
4
4
|
import { normalizePath } from "vite";
|
|
5
5
|
import { globSync } from "tinyglobby";
|
|
6
|
-
|
|
6
|
+
// packages/platform/src/lib/router-plugin.ts
|
|
7
7
|
/**
|
|
8
8
|
* Router plugin that handles route file discovery and hot module replacement.
|
|
9
9
|
*
|
|
@@ -237,7 +237,6 @@ function routerPlugin(options) {
|
|
|
237
237
|
}
|
|
238
238
|
];
|
|
239
239
|
}
|
|
240
|
-
//#endregion
|
|
241
240
|
export { routerPlugin };
|
|
242
241
|
|
|
243
242
|
//# sourceMappingURL=router-plugin.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { deriveServerFnId } from "./server-fn-id.js";
|
|
2
2
|
import { parseSync } from "oxc-parser";
|
|
3
|
-
|
|
3
|
+
// packages/platform/src/lib/server-fn-client-transform.ts
|
|
4
4
|
var SERVER_FN_SOURCE = "@analogjs/router/server";
|
|
5
5
|
function scrubServerFnModule(code, fileId = "file.ts") {
|
|
6
6
|
if (!code.includes("serverFn")) return null;
|
|
@@ -91,7 +91,6 @@ function countServerFnCalls(node, names) {
|
|
|
91
91
|
for (const key of Object.keys(record)) count += countServerFnCalls(record[key], names);
|
|
92
92
|
return count;
|
|
93
93
|
}
|
|
94
|
-
//#endregion
|
|
95
94
|
export { scrubServerFnModule };
|
|
96
95
|
|
|
97
96
|
//# sourceMappingURL=server-fn-client-transform.js.map
|
package/src/lib/server-fn-id.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { relative } from "node:path";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
|
-
|
|
3
|
+
// packages/platform/src/lib/server-fn-id.ts
|
|
4
4
|
var toPosix = (p) => p.replace(/\\/g, "/");
|
|
5
5
|
/**
|
|
6
6
|
* Server-function ids are derived, never author-chosen, for security:
|
|
@@ -31,7 +31,6 @@ function serverFnFileId(absPath, projectRoot) {
|
|
|
31
31
|
function deriveServerFnId(fileId, exportName) {
|
|
32
32
|
return createHash("sha256").update(`${fileId}#${exportName}`).digest("hex").slice(0, 16);
|
|
33
33
|
}
|
|
34
|
-
//#endregion
|
|
35
34
|
export { deriveServerFnId, serverFnFileId };
|
|
36
35
|
|
|
37
36
|
//# sourceMappingURL=server-fn-id.js.map
|
package/src/lib/server-plugin.js
CHANGED
|
@@ -4,7 +4,7 @@ import { relative, resolve } from "node:path";
|
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
import { normalizePath } from "vite";
|
|
6
6
|
import { toNodeHandler } from "srvx/node";
|
|
7
|
-
|
|
7
|
+
// packages/platform/src/lib/server-plugin.ts
|
|
8
8
|
var MANIFEST_PLACEHOLDER = /ANALOG_SERVER_MANIFEST = \{\}/;
|
|
9
9
|
var DEV_TEMPLATE = Symbol.for("@analogjs/platform/dev-template");
|
|
10
10
|
var HTML_MIDDLEWARES = [
|
|
@@ -164,7 +164,6 @@ function toHandler(entry) {
|
|
|
164
164
|
function removeHtmlMiddlewares(middlewares) {
|
|
165
165
|
middlewares.stack = middlewares.stack.filter((layer) => !HTML_MIDDLEWARES.includes(layer.handle.name ?? ""));
|
|
166
166
|
}
|
|
167
|
-
//#endregion
|
|
168
167
|
export { serverPlugin };
|
|
169
168
|
|
|
170
169
|
//# sourceMappingURL=server-plugin.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
import { readFile } from "node:fs/promises";
|
|
3
|
-
|
|
3
|
+
// packages/platform/src/lib/ssr/inject-html-plugin.ts
|
|
4
4
|
var require = createRequire(import.meta.url);
|
|
5
5
|
function eventReplayPlugin() {
|
|
6
6
|
return {
|
|
@@ -21,7 +21,6 @@ function eventReplayPlugin() {
|
|
|
21
21
|
function injectHTMLPlugin() {
|
|
22
22
|
return [eventReplayPlugin()];
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
export { injectHTMLPlugin };
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=inject-html-plugin.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vite from "vite";
|
|
2
|
-
|
|
2
|
+
// packages/platform/src/lib/ssr/ssr-build-plugin.ts
|
|
3
3
|
/**
|
|
4
4
|
* SSR build patches for Angular platform-server, Zone.js, and Domino.
|
|
5
5
|
*
|
|
@@ -66,7 +66,6 @@ function i18nDefRegistryPlugin() {
|
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
//#endregion
|
|
70
69
|
export { i18nDefRegistryPlugin, ssrBuildPlugin };
|
|
71
70
|
|
|
72
71
|
//# sourceMappingURL=ssr-build-plugin.js.map
|
|
@@ -5,7 +5,7 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
|
5
5
|
import { normalizePath, searchForWorkspaceRoot } from "vite";
|
|
6
6
|
import { parseSync } from "oxc-parser";
|
|
7
7
|
import { readConfiguration } from "@angular/compiler-cli";
|
|
8
|
-
|
|
8
|
+
// packages/platform/src/lib/typed-routes-plugin.ts
|
|
9
9
|
function typedRoutes(options = {}) {
|
|
10
10
|
const outFile = options.outFile ?? "src/routeTree.gen.d.ts";
|
|
11
11
|
if (!outFile.endsWith(".d.ts")) throw new Error("[analog] Typed routing outFile must end in .d.ts. Include this declaration in your application tsconfig.");
|
|
@@ -114,7 +114,6 @@ function sameDeclarations(current, output) {
|
|
|
114
114
|
const withoutFormatting = (key, value) => key === "start" || key === "end" || key === "raw" ? void 0 : value;
|
|
115
115
|
return JSON.stringify(left.program, withoutFormatting) === JSON.stringify(right.program, withoutFormatting);
|
|
116
116
|
}
|
|
117
|
-
//#endregion
|
|
118
117
|
export { typedRoutes };
|
|
119
118
|
|
|
120
119
|
//# sourceMappingURL=typed-routes-plugin.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DEBUG_LOG_DIR, DEBUG_LOG_FILENAME, wrapInstancesForFileLog, wrapInstancesForScopedFileLog } from "./debug-log-file.js";
|
|
2
2
|
import { join } from "node:path";
|
|
3
3
|
import { enable } from "obug";
|
|
4
|
-
|
|
4
|
+
// packages/platform/src/lib/utils/debug-harness.ts
|
|
5
5
|
/**
|
|
6
6
|
* Duplicates of this file (keep in sync):
|
|
7
7
|
* packages/platform/src/lib/utils/debug-harness.ts
|
|
@@ -82,7 +82,6 @@ function createDebugHarness(config) {
|
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
//#endregion
|
|
86
85
|
export { createDebugHarness };
|
|
87
86
|
|
|
88
87
|
//# sourceMappingURL=debug-harness.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dirname, join } from "node:path";
|
|
2
2
|
import { appendFileSync, mkdirSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { format } from "node:util";
|
|
4
|
-
|
|
4
|
+
// packages/platform/src/lib/utils/debug-log-file.ts
|
|
5
5
|
/**
|
|
6
6
|
* Duplicates of this file (keep in sync):
|
|
7
7
|
* packages/platform/src/lib/utils/debug-log-file.ts
|
|
@@ -51,7 +51,6 @@ function wrapInstancesForScopedFileLog(instances, dirPath) {
|
|
|
51
51
|
wrapLog(dbg, scopedPath);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
//#endregion
|
|
55
54
|
export { DEBUG_LOG_DIR, DEBUG_LOG_FILENAME, wrapInstancesForFileLog, wrapInstancesForScopedFileLog };
|
|
56
55
|
|
|
57
56
|
//# sourceMappingURL=debug-log-file.js.map
|
package/src/lib/utils/debug.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { nitroDebugInstances } from "../nitro/debug.js";
|
|
2
2
|
import { createDebugHarness } from "./debug-harness.js";
|
|
3
3
|
import { createDebug } from "obug";
|
|
4
|
-
|
|
4
|
+
// packages/platform/src/lib/utils/debug.ts
|
|
5
5
|
var debugPlatform = createDebug("analog:platform");
|
|
6
6
|
var debugRoutes = createDebug("analog:platform:routes");
|
|
7
7
|
var debugContent = createDebug("analog:platform:content");
|
|
@@ -18,7 +18,6 @@ var harness = createDebugHarness({
|
|
|
18
18
|
var applyDebugOption = harness.applyDebugOption;
|
|
19
19
|
var activateDeferredDebug = harness.activateDeferredDebug;
|
|
20
20
|
harness._resetDeferredDebug;
|
|
21
|
-
//#endregion
|
|
22
21
|
export { activateDeferredDebug, applyDebugOption, debugContent, debugPlatform, debugRoutes, debugTypedRouter };
|
|
23
22
|
|
|
24
23
|
//# sourceMappingURL=debug.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as vite from "vite";
|
|
2
|
-
|
|
2
|
+
// packages/platform/src/lib/utils/rolldown.ts
|
|
3
3
|
function isRolldown() {
|
|
4
4
|
return !!vite.rolldownVersion;
|
|
5
5
|
}
|
|
@@ -9,7 +9,6 @@ function getJsTransformConfigKey() {
|
|
|
9
9
|
function getBundleOptionsKey() {
|
|
10
10
|
return isRolldown() ? "rolldownOptions" : "rollupOptions";
|
|
11
11
|
}
|
|
12
|
-
//#endregion
|
|
13
12
|
export { getBundleOptionsKey, getJsTransformConfigKey, isRolldown };
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=rolldown.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolve } from "node:path";
|
|
2
2
|
import { normalizePath } from "vite";
|
|
3
|
-
|
|
3
|
+
// packages/platform/src/server-mode-plugin.ts
|
|
4
4
|
var SERVER_MODE_ID = "virtual:@analogjs/platform/server-mode";
|
|
5
5
|
var RESOLVED_SERVER_MODE_ID = `\0${SERVER_MODE_ID}`;
|
|
6
6
|
/**
|
|
@@ -35,7 +35,6 @@ function serverModePlugin(entryServer) {
|
|
|
35
35
|
}
|
|
36
36
|
}];
|
|
37
37
|
}
|
|
38
|
-
//#endregion
|
|
39
38
|
export { SERVER_MODE_ID, serverModePlugin };
|
|
40
39
|
|
|
41
40
|
//# sourceMappingURL=server-mode-plugin.js.map
|