Skip to content

Deprecate this plugin and suggest using the BannerPlugin instead #66

@sunesimonsen

Description

@sunesimonsen

You can achieve the same kind of functionality this way:

    new webpack.BannerPlugin({
      entryOnly: true,
      include: options.bundleName
        ? options.bundleName + ".js"
        : /\.js$/,
      raw: true,
      banner: 'console.log("Injected")',
    }).apply(compiler);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions