Skip to content

CodeCoupler Webpack Bundle Banner

The JavaScript and CSS bundle will get a banner. By default the banner will look like this:

${PACKAGE.name} ${PACKAGE.version}
Copyright (c) ${new Date().getFullYear()} ${PACKAGE.author}
License: ${PACKAGE.license}

You can change the function that delivers this string in the configuration option banner (see Configuration Reference).

But you can also create a file BANNER in your project root directory that should be used for this 1. The text will always prepended with ${PACKAGE.name} ${PACKAGE.version}.

The special thing about it is that the string "Copyright (c) XXXX" is replaced with "Copyright (c) XXXX-YYYY", where XXXX must be digits and YYYY is the current year.


  1. The file BANNERwill be used from version 4