Home / File/ server.mjs — astro Source File

server.mjs — astro Source File

Architecture documentation for server.mjs, a javascript file in the astro codebase.

Entity Profile

Relationship Graph

Source Code


export default {
	check() {
		throw new Error(`Oops this did not work`);
	},
	renderToStaticMarkup(Component) {
		return {
			html: Component()
		};
	},
};

Subdomains

Frequently Asked Questions

What does server.mjs do?
server.mjs is a source file in the astro codebase, written in javascript. It belongs to the IntegrationAdapters domain, SsrAdapters subdomain.
What functions are defined in server.mjs?
server.mjs defines 2 function(s): default.check, default.renderToStaticMarkup.
Where is server.mjs in the architecture?
server.mjs is located at packages/astro/test/fixtures/multiple-renderers/renderers/one/server.mjs (domain: IntegrationAdapters, subdomain: SsrAdapters, directory: packages/astro/test/fixtures/multiple-renderers/renderers/one).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free