Skip to content

Banner on top of generated webpack output #638

@ehtb

Description

@ehtb

I was thinking about adding support to Webpack's Bannerplugin?

Something along the lines of:

var pkg = require('./package.json');

/**
 ** <%= pkg.name %> - <%= pkg.description %>
 ** @author <%= pkg.author %>
 ** @version v<%= pkg.version %>
 **/

Perhaps we could also add support for licenses:
fs.readFileSync('./LICENSE', 'utf8')

I can make a pull request if you're interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions