{"library":"templated-assets-webpack-plugin","type":"library","category":null,"description":"A webpack plugin for generating server-side partial views from webpack assets, enabling SSR frameworks to reference hashed assets without hardcoding. v4.0.0 (current stable) supports Rspack and webpack 5+, with breaking change dropping webpack v2-4 support. v3.x supports webpack v2-5. Key differentiators over other asset plugins: built-in templates for inlining or referencing scripts/styles, rule-based matching by chunk name or regex, and support for custom template functions.","language":"javascript","status":"active","version":"4.0.0","tags":["javascript","webpack","template","assets","inline","ssr"],"last_verified":"Wed May 27","install":[{"cmd":"npm install templated-assets-webpack-plugin","imports":["const TemplatedAssetsWebpackPlugin = require('templated-assets-webpack-plugin');","const TemplatedAssetsWebpackPlugin = require('templated-assets-webpack-plugin');","new TemplatedAssetsWebpackPlugin({ rules: [...] })"]},{"cmd":"yarn add templated-assets-webpack-plugin","imports":[]},{"cmd":"pnpm add templated-assets-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/jouni-kantola/templated-assets-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/templated-assets-webpack-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/templated-assets-webpack-plugin/compatibility"}}