# html-webpack-inject-temp-afteremit-plugin

> 给打包后的html文件替换指定内容 using webpack, HTMLWebpackPlugin

Latest version **0.0.2** (published 2020-08-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install html-webpack-inject-temp-afteremit-plugin
pnpm add html-webpack-inject-temp-afteremit-plugin
yarn add html-webpack-inject-temp-afteremit-plugin
bun add html-webpack-inject-temp-afteremit-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2020-08-03 |
| First published | 2020-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | choukin |
| Maintainers | choukin |
| Keywords | webpack, plugin, html-webpack-plugin |

## Links

- npm: https://www.npmjs.com/package/html-webpack-inject-temp-afteremit-plugin
- Repository: https://github.com/choukin/html-webpack-inject-temp-afteremit-plugin
- Issues: https://github.com/choukin/html-webpack-inject-temp-afteremit-plugin/issues
- npm.io page: https://npm.io/package/html-webpack-inject-temp-afteremit-plugin

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2020-08-03
- 0.0.1 — 2020-08-02

## README

替换文件内容插件
========================================
# [html-webpack-inject-temp-afteremit-plugin](https://github.com/choukin/html-webpack-inject-temp-afteremit-plugin)
[![](https://img.shields.io/badge/Powered%20by-html%20webpack%20inject%20temp%20afteremit%20plugin-brightgreen.svg)](https://github.com/Noob-Lab/vConsole-launchApp)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/choukin/html-webpack-inject-temp-afteremit-plugin/blob/master/LICENSE)

Installation
------------
You must be running webpack on node 6.4 or higher

Install the plugin with npm:
```shell
$ npm install --save-dev html-webpack-inject-temp-afteremit-plugin
```

Install the plugin with yarn:
```shell
$ yarn add --dev html-webpack-inject-temp-afteremit-plugin
```

Basic Usage
-----------
Require the plugin in your webpack config:

```javascript
var HtmlWebpackInjectTempalfterEmitPlugin = require('html-webpack-inject-temp-afteremit-plugin');
```

Add the plugin to your webpack config as follows:

```javascript
{
	...
	plugins: [
	  new HtmlWebpackPlugin(),
	  new HtmlWebpackInjectTempalfterEmitPlugin({
		  targetStr: `替换成的内容`,
           sourceStr:`要替换的内容`
        }
	  })
	]
	...
}
```




### 开发
-----------
- npm 包中
sudo npm link

- 使用的npm中
sudo npm link package-name

---
_Source: https://npm.io/package/html-webpack-inject-temp-afteremit-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
