Skip to content
This repository was archived by the owner on Apr 5, 2021. It is now read-only.
This repository was archived by the owner on Apr 5, 2021. It is now read-only.

Ability to specify where the entry should be injected ( <body>, <head>, or others ) #40

@DrSensor

Description

@DrSensor

Just like html-webpack-plugin that can specify where the entry should be injected, it could be nice to also have that ability on each module.

    new HtmlWebpackExternalsPlugin({
      externals: [{
        module: 'vue',
        entry: {
          path: 'https://unpkg.com/vue',
          type: 'js',
          inject: 'body' | 'head' | 'openingBody' | 'closingBody'
        }
      }]
    }),

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions