* Provenance banner prepended to a built plugin bundle. A BannerPlugin banner * is emitted as a comment and would be removed by `legalComments: "none"`, so * we prepend it to the emitted JS as a post-build step instead (see buildPlugin).
(bannerLabel)
| 82 | * we prepend it to the emitted JS as a post-build step instead (see buildPlugin). |
| 83 | */ |
| 84 | function pluginBannerComment(bannerLabel) { |
| 85 | return `/*! tracedecay ${bannerLabel} dashboard plugin - bundled with Rsbuild/Rspack. Do not edit; see src/. */`; |
| 86 | } |
| 87 | |
| 88 | function createBundleConfig({ entryName, entry, outDir, filename, alias = {} }) { |
| 89 | return { |