MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / pluginBannerComment

Function pluginBannerComment

dashboard/build.shared.mjs:84–86  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

82 * we prepend it to the emitted JS as a post-build step instead (see buildPlugin).
83 */
84function pluginBannerComment(bannerLabel) {
85 return `/*! tracedecay ${bannerLabel} dashboard plugin - bundled with Rsbuild/Rspack. Do not edit; see src/. */`;
86}
87
88function createBundleConfig({ entryName, entry, outDir, filename, alias = {} }) {
89 return {

Callers 1

buildPluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected