1.0.8 • Published 5 years ago

auto-inject-plugin v1.0.8

Weekly downloads
3
License
ISC
Repository
github
Last release
5 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

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago