# html-resources-replace

> Replace static resources in html

Latest version **1.0.1** (published 2016-12-08) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install html-resources-replace
pnpm add html-resources-replace
yarn add html-resources-replace
bun add html-resources-replace
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-12-08 |
| First published | 2016-12-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Stupid Killer |
| Maintainers | stupidkiller |
| Keywords | webpack, html, replace |

## Links

- npm: https://www.npmjs.com/package/html-resources-replace
- Repository: https://github.com/stupidkiller/htmlResourcesReplace
- Homepage: https://github.com/stupidkiller/htmlResourcesReplace#readme
- Issues: https://github.com/stupidkiller/htmlResourcesReplace/issues
- npm.io page: https://npm.io/package/html-resources-replace

## 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

- 1.0.1 (latest) — 2016-12-08

## README

## Webpack plugin: html-resources-replace

# example

```javascript
var HtmlResourcesReplace = require('HtmlResourcesReplace');

module.exports = {
    entry: {
        test_build1:"./src/test1.js",
        test_build2:"./src/test2.js"
    },
    output: {                                                                                                           
        path: "./build",                                                                           
        filename: "[name][chunkhash].js"                                                                              
    }, 
    plugins: [
        new HtmlResourcesReplace({
            list: [
                {
                    html: 'test1.html',
                    resource: 'test_build1'
                },
                {
                    html: 'test2.html',
                    resource: 'test_build1',
                    //or point a custom path for test2.html
                    dist: 'build/custom_path/'
                }
            ]
        })
    ]
};
```

---
_Source: https://npm.io/package/html-resources-replace · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
