Skip to content

CodeCoupler Webpack Bundle Banner

The JavaScript and CSS bundle will have 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 using the configuration option banner (see Configuration Reference).

Alternatively, you can create a file named BANNER in your project root directory for this purpose. 1. The text will always be 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 ↩