Skip to content
This repository has been 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

Open
DrSensor opened this issue Jun 28, 2018 · 0 comments

Comments

@DrSensor
Copy link

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'
        }
      }]
    }),
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants