We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
banner
Currently, there is now way to customize the comment style if banner is a string? For example, this does not work:
license({ banner: licenseStr, commentStyle: "ignored" })
Originally posted by @revelt in #308 (comment)
The text was updated successfully, but these errors were encountered:
To address this issue, this commit add the possibility to define banner content like this:
license({ banner: { commentStyle: 'ignored', content: licenseStr, }, });
Since I think having different options to define the "same thing", banner.file and banner.encoding are deprecated and should now be defined like:
banner.file
banner.encoding
license({ banner: { commentStyle: 'ignored', content: { file: path.join(__dirname, 'LICENSE'), encoding: 'utf-8', }, }, });
Old options are still supported, but will be removed in a future version and a warning will be printed to the console.
Sorry, something went wrong.
@revelt Is that ok for you? This is available with version 0.11.0, let me know if it solves your issue ;)
@revelt I close the issue, please comment if it does not work for you ;)
No branches or pull requests
Currently, there is now way to customize the comment style if
banner
is a string? For example, this does not work:Originally posted by @revelt in #308 (comment)
The text was updated successfully, but these errors were encountered: