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
  4000a974_63e1_bc5d_af41_5637fc50f6c0["generateClientManifest()"]
  067998f7_6426_812d_2e2b_24555482bfb9["ssr-template.spec.ts"]
  4000a974_63e1_bc5d_af41_5637fc50f6c0 -->|defined in| 067998f7_6426_812d_2e2b_24555482bfb9
  a6c90c59_bad0_cde0_014d_267f94b3588f["createRendererWithManifest()"]
  a6c90c59_bad0_cde0_014d_267f94b3588f -->|calls| 4000a974_63e1_bc5d_af41_5637fc50f6c0
  d504e56d_e99f_6cae_8673_b0fba3808e2b["compileWithWebpack()"]
  4000a974_63e1_bc5d_af41_5637fc50f6c0 -->|calls| d504e56d_e99f_6cae_8673_b0fba3808e2b
  style 4000a974_63e1_bc5d_af41_5637fc50f6c0 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, defined in packages/server-renderer/test/ssr-template.spec.ts.
Where is generateClientManifest() defined?
generateClientManifest() is defined in packages/server-renderer/test/ssr-template.spec.ts at line 15.
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