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
  9e94dbbc_5642_51d1_c552_c3735bc5ccdd["generateClientManifest()"]
  92559836_b972_e5a5_41d3_5f71622b607e["createRendererWithManifest()"]
  92559836_b972_e5a5_41d3_5f71622b607e -->|calls| 9e94dbbc_5642_51d1_c552_c3735bc5ccdd
  cee4de49_0b70_85e4_f6f8_2be136343354["compileWithWebpack()"]
  9e94dbbc_5642_51d1_c552_c3735bc5ccdd -->|calls| cee4de49_0b70_85e4_f6f8_2be136343354
  style 9e94dbbc_5642_51d1_c552_c3735bc5ccdd 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'))
}

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