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.

Function typescript VueCore VDom calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  476a6323_5af8_c06c_996b_228d9ae5863a["generateClientManifest()"]
  f246650d_e128_4b03_fd24_dee5a38a97e4["ssr-template.spec.ts"]
  476a6323_5af8_c06c_996b_228d9ae5863a -->|defined in| f246650d_e128_4b03_fd24_dee5a38a97e4
  afa85662_96a6_3dd5_db0f_4d2a8d53e4fd["createRendererWithManifest()"]
  afa85662_96a6_3dd5_db0f_4d2a8d53e4fd -->|calls| 476a6323_5af8_c06c_996b_228d9ae5863a
  4bcbdd96_b277_5b96_8526_0f9b1e5719c4["compileWithWebpack()"]
  476a6323_5af8_c06c_996b_228d9ae5863a -->|calls| 4bcbdd96_b277_5b96_8526_0f9b1e5719c4
  style 476a6323_5af8_c06c_996b_228d9ae5863a 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