A Webpack plugin for Vue 2.x server-side rendering that generates a bundle manifest (JSON) from Webpack code-split server builds, enabling seamless use with Vue's bundleRenderer. Current stable version is 3.0.0. Requires vue-server-renderer >= 2.2.0. Key differentiator: automatically packs multiple output files from on-demand code-splitting into a single JSON bundle, and optionally generates a client manifest for automatic preload/prefetch directives. Release cadence is low (major versions align with Vue 2 SSR API changes).
npm install vue-ssr-webpack-pluginNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Webpack server config using VueSSRServerPlugin to generate a bundle JSON for Vue SSR.
Upgrade vue-server-renderer to >=2.2.0, or stay on vue-ssr-webpack-plugin@1.x for older versions.
Remove CommonsChunkPlugin from server Webpack config.
Add new webpack.optimize.CommonsChunkPlugin({ name: 'manifest', minChunks: Infinity }) before VueSSRClientPlugin.For Webpack 4+: use optimization: { runtimeChunk: { name: 'manifest' } } and splitChunks options.Configure HtmlWebpackPlugin with { inject: false }.Upgrade to vue-ssr-webpack-plugin@4.0.0 or later (if available) or downgrade to Webpack 4.
Ensure server config has exactly one entry point and remove any plugins that produce multiple outputs.
Check Webpack output path; ensure build succeeds without errors. For custom filename, provide absolute path or use relative path from output directory.
Run npm install vue-server-renderer --save (requires peer version >=2.2.0).