Home / Function/ generateClientManifest() — vue Function Reference

generateClientManifest() — vue Function Reference

Architecture documentation for the generateClientManifest() function in ssr-template.spec.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  6d626504_4667_044d_6641_070d41ae4527["generateClientManifest()"]
  e1a19777_77cf_cd7d_5044_3ebeaacddb7d["createRendererWithManifest()"]
  e1a19777_77cf_cd7d_5044_3ebeaacddb7d -->|calls| 6d626504_4667_044d_6641_070d41ae4527
  cf13a947_8804_c821_8653_f052b90b701f["compileWithWebpack()"]
  6d626504_4667_044d_6641_070d41ae4527 -->|calls| cf13a947_8804_c821_8653_f052b90b701f
  style 6d626504_4667_044d_6641_070d41ae4527 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/server-renderer/test/ssr-template.spec.ts lines 15–30

async function generateClientManifest(file: string) {
  const fs = await compileWithWebpack(file, {
    output: {
      path: '/',
      publicPath: '/',
      filename: '[name].js'
    },
    optimization: {
      runtimeChunk: {
        name: 'manifest'
      }
    },
    plugins: [new VueSSRClientPlugin()]
  })
  return JSON.parse(fs.readFileSync('/vue-ssr-client-manifest.json', 'utf-8'))
}

Domain

Subdomains

Frequently Asked Questions

What does generateClientManifest() do?
generateClientManifest() is a function in the vue codebase.
What does generateClientManifest() call?
generateClientManifest() calls 1 function(s): compileWithWebpack.
What calls generateClientManifest()?
generateClientManifest() is called by 1 function(s): createRendererWithManifest.

Analyze Your Own Codebase

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

Try Supermodel Free