Home / File/ index.ts — astro Source File

index.ts — astro Source File

Architecture documentation for index.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.

File typescript CoreAstro RenderingEngine 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  d889d388_a82b_2f07_9eb1_ee9601abd1e4["index.ts"]
  bfb5da62_7cd5_d55c_8039_560d53ef39a9["./transform/index.js"]
  d889d388_a82b_2f07_9eb1_ee9601abd1e4 --> bfb5da62_7cd5_d55c_8039_560d53ef39a9
  style d889d388_a82b_2f07_9eb1_ee9601abd1e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { transform } from './transform/index.js';

export default function html() {
	return {
		name: 'astro:html',
		options(options: any) {
			options.plugins = options.plugins?.filter((p: any) => p.name !== 'vite:build-html');
		},
		transform: {
			filter: {
				id: /\.html$/,
			},
			handler: transform,
		},
	};
}

Domain

Subdomains

Functions

Dependencies

  • ./transform/index.js

Frequently Asked Questions

What does index.ts do?
index.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain, RenderingEngine subdomain.
What functions are defined in index.ts?
index.ts defines 1 function(s): html.
What does index.ts depend on?
index.ts imports 1 module(s): ./transform/index.js.
Where is index.ts in the architecture?
index.ts is located at packages/astro/src/vite-plugin-html/index.ts (domain: CoreAstro, subdomain: RenderingEngine, directory: packages/astro/src/vite-plugin-html).

Analyze Your Own Codebase

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

Try Supermodel Free