1.0.8 • Published 4 years ago

auto-inject-plugin v1.0.8

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

auto-inject-plugin


A plugin that automatically injects dependent files.

Introduction


After splitting the third-party package, it is automatically injected into the corresponding page.

Installation


First, install the package as a dependency in your package.json:

yarn add -D auto-inject-plugin

Usage


Next, in your Webpack config, require() the preload plugin as follows:

const AutoInjectPlugin = require('auto-inject-plugin')

and finally, configure the plugin in your Webpack plugins array after HtmlWebpackPlugin:

plugins: [
  new HtmlWebpackPlugin(),
  new AutoInjectPlugin()
]
1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago