🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
11
node_modules/@astrojs/mdx/dist/rehype-optimize-static.d.ts
generated
vendored
Normal file
11
node_modules/@astrojs/mdx/dist/rehype-optimize-static.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
export interface OptimizeOptions {
|
||||
customComponentNames?: string[];
|
||||
}
|
||||
/**
|
||||
* For MDX only, collapse static subtrees of the hast into `set:html`. Subtrees
|
||||
* do not include any MDX elements.
|
||||
*
|
||||
* This optimization reduces the JS output as more content are represented as a
|
||||
* string instead, which also reduces the AST size that Rollup holds in memory.
|
||||
*/
|
||||
export declare function rehypeOptimizeStatic(options?: OptimizeOptions): (tree: any) => void;
|
||||
Loading…
Add table
Add a link
Reference in a new issue