Skip to content

How to add some banner to the trunks header, such as copy right? #26754

Answered by Caesar-APAX
Caesar-APAX asked this question in Help
Discussion options

You must be logged in to vote

if (pathname.indexOf('.json') > -1) return

compilation.updateAsset(
pathname,
new sources.RawSource(this.banner + source.source())
)

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Caesar-APAX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bug Issue was opened via the bug report template.
1 participant
Converted from issue

This discussion was converted from issue #26752 on June 30, 2021 09:16.